mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 20:20:59 +03:00
9f0483e5f0
Fix -Zmir-enable-passes to detect unregistered enum names in declare_passes macro related: https://github.com/rust-lang/rust/issues/150910 I fixed declare_passes macro to detect unregistered enum names ### UI Results +nightly --> before: no warnings +stage1 --> after: detect SimplifyCfg as an unknown pass <img width="591" height="199" alt="スクリーンショット 2026-01-24 23 53 41" src="https://github.com/user-attachments/assets/ddabaa58-b4c6-4e80-a3c9-f40d866db273" />