diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-28 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2021-02-28 00:00:00 +0000 |
| commit | 57de468ff98387a998afe089b77466ee50733c27 (patch) | |
| tree | d20d8825a51931d6ea7dba07f8f768ed5ee2843a /src/test/codegen | |
| parent | 70760507e6c8f98acbad02bba79ba152f1c740ae (diff) | |
| download | rust-57de468ff98387a998afe089b77466ee50733c27.tar.gz rust-57de468ff98387a998afe089b77466ee50733c27.zip | |
Use -O in try_identity test that requires storage markers
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/try_identity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/try_identity.rs b/src/test/codegen/try_identity.rs index d30b706eafc..d51bd575719 100644 --- a/src/test/codegen/try_identity.rs +++ b/src/test/codegen/try_identity.rs @@ -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`. |
