-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Zunpretty: allow passing several printing modes as comma-separated list #82540
Conversation
r? @varkor (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
603748b
to
32f49b4
Compare
This comment has been minimized.
This comment has been minimized.
Note to self: something broke while rebasing from #82269
|
…ist. Modes that had a comma in them use "+" now: -Zunpretty=expanded,hygiene => -Zunpretty=expanded+hygiene You can print several modes back to back like this: -Zunpretty=expanded+hygiene,mir,hir,everybody_loops
FYI, this will also conflict with #82304 |
☔ The latest upstream changes (presumably #82304) made this pull request unmergeable. Please resolve the merge conflicts. |
@matthiaskrgr: is this ready to review? |
No, sorry. |
Modes that had a comma in them use "+" now:
-Zunpretty=expanded,hygiene
=>-Zunpretty=expanded+hygiene
You can now print several modes back to back like this:
-Zunpretty=expanded+hygiene,mir,hir,everybody_loops
Note:
everybody_loops
modifies the IR which can influence output of other printing modes.