Skip to content

Commit a96811e

Browse files
authored
Rollup merge of #66087 - tmiasko:ui-mode, r=Centril
Update some build-pass ui tests to use check-pass where applicable Helps with issue #62277.
2 parents 28c1136 + e88db92 commit a96811e

File tree

322 files changed

+324
-328
lines changed

Some content is hidden

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

322 files changed

+324
-328
lines changed

src/test/ui/async-await/issue-61793.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// while those two fields were at the same offset (which is impossible).
44
// That is, memory ordering of `(X, ())`, but offsets of `((), X)`.
55

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

99
async fn foo<F>(_: &(), _: F) {}

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;

0 commit comments

Comments
 (0)