Skip to content

Conversation

joshtriplett
Copy link
Member

  • Move some macro parsing tests from tests/ui/parser to tests/ui/parser/macro.

  • Most macro tests use macro in the name, making it easy to find and run tests relevant to macros. However, a few use mbe instead. Rename those to say macro.

The `macro` directory contains most of the macro tests, but not all of
them; move the remainder into `macro`.
@rustbot
Copy link
Collaborator

rustbot commented Jul 6, 2025

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 6, 2025
@rust-log-analyzer

This comment has been minimized.

@joshtriplett joshtriplett force-pushed the macro-test-organization branch from 31dada3 to 0ab2a9f Compare July 6, 2025 02:34
@rust-log-analyzer

This comment has been minimized.

Most macro tests use `macro` in the name, making it easy to find and run
tests relevant to macros. However, a few use `mbe` instead. Rename those
to say `macro`.
@joshtriplett joshtriplett force-pushed the macro-test-organization branch from 0ab2a9f to 131cffb Compare July 6, 2025 04:09
Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jieyouxu
Copy link
Member

jieyouxu commented Jul 6, 2025

r? jieyouxu @bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jul 6, 2025

📌 Commit 131cffb has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 6, 2025
bors added a commit that referenced this pull request Jul 6, 2025
Rollup of 4 pull requests

Successful merges:

 - #143252 (Rewrite empty attribute lint for new attribute parser)
 - #143492 (Use `object` crate from crates.io to fix windows build error)
 - #143514 (Organize macro tests a bit more)
 - #143518 (rustc_builtin_macros: Make sure registered attributes stay sorted)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 05146ab into rust-lang:master Jul 6, 2025
11 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jul 6, 2025
rust-timer added a commit that referenced this pull request Jul 6, 2025
Rollup merge of #143514 - joshtriplett:macro-test-organization, r=jieyouxu

Organize macro tests a bit more

- Move some macro parsing tests from `tests/ui/parser` to `tests/ui/parser/macro`.

- Most macro tests use `macro` in the name, making it easy to find and run tests relevant to macros. However, a few use `mbe` instead. Rename those to say `macro`.
@joshtriplett joshtriplett deleted the macro-test-organization branch July 6, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants