Skip to content

Commit 7bf810e

Browse files
Rollup merge of rust-lang#156154 - SynapLink:cleanup/check-pass-import-tests, r=folkertdev
tests: mark import UI tests as check-pass These import and extern-prelude UI tests only exercise checking behavior, so they do not need codegen or linking. Mark them as check-pass and remove the old FIXME(62277) markers.
2 parents 6c37722 + f9ddd9f commit 7bf810e

9 files changed

Lines changed: 9 additions & 9 deletions

tests/ui/imports/extern-crate-self/extern-crate-self-macro-item.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
// Test that `extern crate self;` is accepted
44
// syntactically as an item for use in a macro.

tests/ui/imports/extern-crate-self/extern-crate-self-pass.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
extern crate self as foo;
44

tests/ui/imports/extern-prelude-extern-crate-absolute-expanded.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
macro_rules! define_iso { () => {

tests/ui/imports/extern-prelude-extern-crate-cfg.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
//@ compile-flags:--cfg my_feature --check-cfg=cfg(my_feature)
33

44
#![no_std]

tests/ui/imports/extern-prelude-extern-crate-pass.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
//@ aux-build:two_macros.rs
33

44
extern crate two_macros;

tests/ui/imports/extern-prelude-extern-crate-shadowing.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
//@ aux-build:two_macros.rs
33

44
extern crate two_macros as core;

tests/ui/imports/local-modularized-tricky-pass-1.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
macro_rules! define_exported { () => {
44
#[macro_export]

tests/ui/imports/local-modularized.rs

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

44
#[macro_export(local_inner_macros)]
55
macro_rules! dollar_crate_exported {

tests/ui/resolve/extern-prelude.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
//@ compile-flags:--extern extern_prelude --extern Vec
33
//@ aux-build:extern-prelude.rs
44
//@ aux-build:extern-prelude-vec.rs

0 commit comments

Comments
 (0)