diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-06-20 10:04:34 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-06-21 07:41:09 +0000 |
| commit | c409f05636437726251456297ff67c08ab0841aa (patch) | |
| tree | 70c4bd900655e1038cdcf5fa0b825d06fb2f51d3 /tests/mir-opt/separate_const_switch.rs | |
| parent | c55d1ee8d4e3162187214692229a63c2cc5e0f31 (diff) | |
| download | rust-c409f05636437726251456297ff67c08ab0841aa.tar.gz rust-c409f05636437726251456297ff67c08ab0841aa.zip | |
Disable two mir opts that are known to be unsound
Diffstat (limited to 'tests/mir-opt/separate_const_switch.rs')
| -rw-r--r-- | tests/mir-opt/separate_const_switch.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mir-opt/separate_const_switch.rs b/tests/mir-opt/separate_const_switch.rs index c809e5629cc..d333d4b6be2 100644 --- a/tests/mir-opt/separate_const_switch.rs +++ b/tests/mir-opt/separate_const_switch.rs @@ -1,6 +1,8 @@ #![feature(control_flow_enum)] #![feature(try_trait_v2)] +// compile-flags: -Zunsound-mir-opts + use std::ops::ControlFlow; // EMIT_MIR separate_const_switch.too_complex.SeparateConstSwitch.diff |
