Skip to content

Commit b2d92fb

Browse files
committed
test: audit rfcs, mir, macros tests
1 parent 53ebedc commit b2d92fb

12 files changed

Lines changed: 12 additions & 12 deletions

tests/ui/macros/issue-41803.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_macro_rules)]
33

44
/// A compile-time map from identifiers to arbitrary (heterogeneous) expressions

tests/ui/macros/log_syntax-trace_macros-macro-locations.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
#![feature(trace_macros, log_syntax)]
44

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/pub-method-inside-macro.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
// Issue #17436
33

44

tests/ui/mir/mir_ascription_coercion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ build-pass
22
// Tests that the result of type ascription has adjustments applied
33

44
#![feature(type_ascription)]

tests/ui/mir/mir_coercion_casts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ build-pass
22
// Tests the coercion casts are handled properly
33

44
fn main() {

tests/ui/mir/mir_small_agg_arg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ build-pass
22
#![allow(unused_variables)]
33
fn foo((x, y): (i8, i8)) {
44
}

tests/ui/mir/mir_void_return_2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ run-pass
1+
//@ build-pass
22
fn nil() {}
33

44
fn mir(){

tests/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error-ok.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
use std::error::Error;
33

44
fn main() -> Result<(), Box<dyn Error>> {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
//@ run-pass
1+
//@ check-pass
22
fn main() {}

0 commit comments

Comments
 (0)