Skip to content

Commit 0501d8a

Browse files
committed
Use check-pass in ui tests where appropriate
1 parent 045fdd9 commit 0501d8a

File tree

267 files changed

+267
-268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+267
-268
lines changed

src/test/ui/async-await/issues/issue-53249.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22
// edition:2018
33

44
#![feature(arbitrary_self_types)]

src/test/ui/async-await/issues/issue-54974.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22
// edition:2018
33

44
use std::sync::Arc;

src/test/ui/async-await/issues/issue-60518.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22
// edition:2018
33

44
// This is a regression test to ensure that simple bindings (where replacement arguments aren't

src/test/ui/borrowck/issue-55552-ascribe-wildcard-to-structured-pattern.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
// rust-lang/rust#55552: The strategy pnkfelix landed in PR #55274
44
// (for ensuring that NLL respects user-provided lifetime annotations)

src/test/ui/closure-expected-type/issue-24421.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
fn test<F: Fn(&u64, &u64)>(f: F) {}
44

src/test/ui/consts/issue-62045.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
fn main() {
44
assert_eq!(&mut [0; 1][..], &mut []);

src/test/ui/dyn-keyword/issue-56327-dyn-trait-in-macro-is-okay.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
// rust-lang/rust#56327: Some occurrences of `dyn` within a macro are
44
// not instances of identifiers, and thus should *not* be caught by the

src/test/ui/feature-gate/issue-43106-gating-of-macro_escape.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// `#![macro_escape]` is incompatible with crate-level `#![macro_use]`
44
// already present in issue-43106-gating-of-builtin-attrs.
55

6-
// build-pass (FIXME(62277): could be check-pass?)
6+
// check-pass
77

88
#![macro_escape]
99
//~^ WARN macro_escape is a deprecated synonym for macro_use

src/test/ui/generator/issue-53548-1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// but which encountered the same ICE/error. See `issue-53548.rs`
33
// for details.
44
//
5-
// build-pass (FIXME(62277): could be check-pass?)
5+
// check-pass
66

77
use std::cell::RefCell;
88
use std::rc::Rc;

src/test/ui/generator/issue-53548.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// also analogous to what we would do for higher-ranked regions
1616
// appearing within the trait in other positions).
1717
//
18-
// build-pass (FIXME(62277): could be check-pass?)
18+
// check-pass
1919

2020
#![feature(generators)]
2121

0 commit comments

Comments
 (0)