Skip to content

Commit adacd90

Browse files
committed
move many ui/macros tests from run- to check-pass
1 parent fd0c901 commit adacd90

30 files changed

Lines changed: 30 additions & 30 deletions

tests/ui/macros/issue-2804.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33
#![allow(non_camel_case_types)]
44
#![allow(dead_code)]

tests/ui/macros/issue-33185.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
#![allow(dead_code)]
33

44
#[macro_export]

tests/ui/macros/issue-40469.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33
#![allow(dead_code)]
44

tests/ui/macros/issue-40770.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
#![allow(unused_macros)]
33
macro_rules! m {
44
($e:expr) => {

tests/ui/macros/macro-attribute-expansion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
macro_rules! descriptions {
33
($name:ident is $desc:expr) => {
44
// Check that we will correctly expand attributes

tests/ui/macros/macro-attributes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22

33
macro_rules! compiles_fine {
44
(#[$at:meta]) => {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
fn main() {
33
vec![1_usize, 2, 3].len();
44
}

tests/ui/macros/macro-doc-comments.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
#![allow(non_snake_case)]
33

44
macro_rules! doc {

tests/ui/macros/macro-doc-escapes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ check-pass
22
// When expanding a macro, documentation attributes (including documentation comments) must be
33
// passed "as is" without being parsed. Otherwise, some text will be incorrectly interpreted as
44
// escape sequences, leading to an ICE.

tests/ui/macros/macro-follow-rpass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ edition:2015..2021
2-
//@ run-pass
2+
//@ check-pass
33
#![allow(unused_macros)]
44
// Check the macro follow sets (see corresponding cfail test).
55

0 commit comments

Comments
 (0)