Skip to content

Commit cc47162

Browse files
committed
test: audit assorted small directories
1 parent b2d92fb commit cc47162

29 files changed

Lines changed: 29 additions & 29 deletions

tests/ui/attributes/crate-name-attr-validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Checks proper validation of the `#![crate_name]` attribute.
22
3-
//@ run-pass
3+
//@ check-pass
44
//@ compile-flags:--crate-name crate_name_attr_used -F unused-attributes
55

66

tests/ui/attributes/inline-main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Test that #[inline(always)] can be applied to main function
22
3-
//@ run-pass
3+
//@ check-pass
44

55
#[inline(always)]
66
fn main() {}

tests/ui/attributes/log-backtrace.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
// This test makes sure that log-backtrace option at least parses correctly
44
//

tests/ui/higher-ranked/trait-bounds/hrtb-debruijn-object-types-in-closures.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
trait Typer<'tcx> {

tests/ui/higher-ranked/trait-bounds/hrtb-resolve-lifetime.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
// A basic test of using a higher-ranked trait bound.
44

tests/ui/impl-trait/issues/issue-36792.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
fn foo() -> impl Copy {
33
foo
44
}

tests/ui/impl-trait/issues/issue-51185.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
fn foo() -> impl Into<for<'a> fn(&'a ())> {
33
(|_| {}) as for<'a> fn(&'a ())
44
}

tests/ui/numbers-arithmetic/float-int-invalid-const-cast.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
// Forces evaluation of constants, triggering hard error
44
fn force<T>(_: T) {}

tests/ui/numbers-arithmetic/integer-literal-suffix-inference-2.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
fn foo(_: *const ()) {}
44

tests/ui/numbers-arithmetic/integer-literal-suffix-inference.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
pub fn main() {
44
fn id_i8(n: i8) -> i8 { n }

0 commit comments

Comments
 (0)