Skip to content

Commit 57de468

Browse files
committed
Use -O in try_identity test that requires storage markers
1 parent 7076050 commit 57de468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/codegen/try_identity.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=2 -Zunsound-mir-opts
1+
// compile-flags: -C no-prepopulate-passes -O -Z mir-opt-level=2 -Zunsound-mir-opts
22

33
// Ensure that `x?` has no overhead on `Result<T, E>` due to identity `match`es in lowering.
44
// This requires inlining to trigger the MIR optimizations in `SimplifyArmIdentity`.

0 commit comments

Comments
 (0)