Rollup merge of #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 #62277
This commit is contained in:
Matthias Krüger 2023-07-29 06:13:06 +02:00 committed by GitHub
commit 4e525c1a9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]