Skip to content

Commit 20ebe31

Browse files
committed
test: audit issues tests
1 parent b8ff2c6 commit 20ebe31

27 files changed

Lines changed: 27 additions & 27 deletions

tests/ui/issues/issue-16922-rpass.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
use std::any::Any;
44

tests/ui/issues/issue-17816.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_variables)]
33
use std::marker::PhantomData;
44

tests/ui/issues/issue-18539.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
// Test that coercing bare fn's that return a zero sized type to
33
// a closure doesn't cause an LLVM ERROR
44

tests/ui/issues/issue-19001.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
// check that we handle recursive arrays correctly in `type_of`
44

tests/ui/issues/issue-19127.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_variables)]
33

44
fn foo<T, F: FnOnce(T) -> T>(f: F) {}

tests/ui/issues/issue-20174.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
struct GradFn<F: Fn() -> usize>(F);
33

44
fn main() {

tests/ui/issues/issue-20575.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
// Test that overloaded calls work with zero arity closures
33

44

tests/ui/issues/issue-23491.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_variables)]
33

44
struct Node<T: ?Sized>(#[allow(dead_code)] T);

tests/ui/issues/issue-23699.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_variables)]
33
fn gimme_a_raw_pointer<T>(_: *const T) { }
44

tests/ui/issues/issue-23898.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_parens)]
33
#![allow(non_camel_case_types)]
44

0 commit comments

Comments
 (0)