Skip to content
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

-Zmir-enable-passes= has no error handling #132805

Closed
matthiaskrgr opened this issue Nov 9, 2024 · 0 comments · Fixed by #132901
Closed

-Zmir-enable-passes= has no error handling #132805

matthiaskrgr opened this issue Nov 9, 2024 · 0 comments · Fixed by #132901
Labels
A-CLI Area: Command-line interface (CLI) to the compiler A-diagnostics Area: Messages for errors, warnings, and lints A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@matthiaskrgr
Copy link
Member

You can run -Zmir-enable-passes=+ThisPassDoesNotExist and there will be no warning or error 🤔

@matthiaskrgr matthiaskrgr added the C-bug Category: This is a bug. label Nov 9, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Nov 9, 2024
@jieyouxu jieyouxu added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-mir-opt Area: MIR optimizations A-diagnostics Area: Messages for errors, warnings, and lints labels Nov 10, 2024
@jieyouxu jieyouxu added A-CLI Area: Command-line interface (CLI) to the compiler and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Nov 11, 2024
@bors bors closed this as completed in 8628fd5 Nov 12, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Nov 12, 2024
Rollup merge of rust-lang#132901 - clubby789:enable-pass-check, r=jieyouxu

Warn about invalid `mir-enable-passes` pass names

Fixes rust-lang#132805
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: Command-line interface (CLI) to the compiler A-diagnostics Area: Messages for errors, warnings, and lints A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants