Use -O in try_identity test that requires storage markers

This commit is contained in:
Tomasz Miąsko 2021-02-28 00:00:00 +00:00
parent 70760507e6
commit 57de468ff9
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=2 -Zunsound-mir-opts
// compile-flags: -C no-prepopulate-passes -O -Z mir-opt-level=2 -Zunsound-mir-opts
// Ensure that `x?` has no overhead on `Result<T, E>` due to identity `match`es in lowering.
// This requires inlining to trigger the MIR optimizations in `SimplifyArmIdentity`.