Commit f58bd5c
committed
Auto merge of #154375 - RalfJung:large_enums, r=wesleywiser
large_enums mir pass: fix is_enabled logic
This logic got turned from a guard in `run_pass` to an `is_enabled` check in 15d4728#r2989096960, but that was done incorrectly. The pass must never be enabled without `unsound_mir_opts`!1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments