Skip to content

Commit

Permalink
Rollup merge of rust-lang#114124 - Enselic:proc-fixme, r=cjgillot
Browse files Browse the repository at this point in the history
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
  • Loading branch information
matthiaskrgr authored Jul 29, 2023
2 parents 495b999 + 4315ba6 commit 4e525c1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/ui/proc-macro/derive-helper-shadowed.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:test-macros.rs
// aux-build:derive-helper-shadowed-2.rs

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/proc-macro/derive-in-mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:test-macros.rs

extern crate test_macros;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/proc-macro/edition-imports-2018.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// edition:2018
// aux-build:edition-imports-2015.rs

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// edition:2018

extern crate proc_macro;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/proc-macro/helper-attr-blocked-by-import.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:test-macros.rs

#[macro_use(Empty)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/proc-macro/issue-53481.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:test-macros.rs

#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/proc-macro/macro-use-attr.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:test-macros.rs

#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/proc-macro/macro-use-bang.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:test-macros.rs

#[macro_use]
Expand Down

0 comments on commit 4e525c1

Please sign in to comment.