mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
093b9d5b29
Do not run optimizations on trivial MIR. Fixes https://github.com/rust-lang/rust/issues/116513 The bug was introduced in https://github.com/rust-lang/rust/pull/110728, which put the check too early in the query chain. cc `@oli-obk` `@ouz-a`