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.
This commit is contained in:
Martin Nordholts 2023-07-27 10:29:53 +02:00
parent a6236fa460
commit 4315ba64b5
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// aux-build:test-macros.rs // aux-build:test-macros.rs
// aux-build:derive-helper-shadowed-2.rs // aux-build:derive-helper-shadowed-2.rs

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// aux-build:test-macros.rs // aux-build:test-macros.rs
extern crate test_macros; extern crate test_macros;

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// edition:2018 // edition:2018
// aux-build:edition-imports-2015.rs // aux-build:edition-imports-2015.rs

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// edition:2018 // edition:2018
extern crate proc_macro; extern crate proc_macro;

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// aux-build:test-macros.rs // aux-build:test-macros.rs
#[macro_use(Empty)] #[macro_use(Empty)]

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// aux-build:test-macros.rs // aux-build:test-macros.rs
#[macro_use] #[macro_use]

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// aux-build:test-macros.rs // aux-build:test-macros.rs
#[macro_use] #[macro_use]

View File

@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?) // check-pass
// aux-build:test-macros.rs // aux-build:test-macros.rs
#[macro_use] #[macro_use]