Skip to content

Commit

Permalink
tests/ui/proc-macro/*: Migrate FIXMEs to check-pass
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Enselic committed Jul 27, 2023
1 parent a6236fa commit 4315ba6
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 4315ba6

Please sign in to comment.