Skip to content

Commit 4e525c1

Browse files
authored
Rollup merge of rust-lang#114124 - Enselic:proc-fixme, r=cjgillot
tests/ui/proc-macro/*: Migrate FIXMEs to check-pass proc-macros are processed early in the compiler pipeline. There is no need to involve codegen. So change to check-pass. I have also looked through each changed test and to me it is sufficiently clear that codegen is not needed for the purpose of the test. I skipped changing `tests/ui/proc-macro/no-missing-docs.rs` in this commit because it was not clear to me that it can be changed to check-pass. Part of rust-lang#62277
2 parents 495b999 + 4315ba6 commit 4e525c1

8 files changed

+8
-8
lines changed

tests/ui/proc-macro/derive-helper-shadowed.rs

+1-1
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:test-macros.rs
33
// aux-build:derive-helper-shadowed-2.rs
44

tests/ui/proc-macro/derive-in-mod.rs

+1-1
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:test-macros.rs
33

44
extern crate test_macros;

tests/ui/proc-macro/edition-imports-2018.rs

+1-1
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
// aux-build:edition-imports-2015.rs
44

tests/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs

+1-1
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
extern crate proc_macro;

tests/ui/proc-macro/helper-attr-blocked-by-import.rs

+1-1
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:test-macros.rs
33

44
#[macro_use(Empty)]

tests/ui/proc-macro/issue-53481.rs

+1-1
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:test-macros.rs
33

44
#[macro_use]

tests/ui/proc-macro/macro-use-attr.rs

+1-1
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:test-macros.rs
33

44
#[macro_use]

tests/ui/proc-macro/macro-use-bang.rs

+1-1
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:test-macros.rs
33

44
#[macro_use]

0 commit comments

Comments
 (0)