X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fmir-opt%2Fremove_zsts_dont_touch_unions.rs;h=8b9de9b4d65a66fd987f2357d44fc0cecf038e42;hb=e568cb45fefd580cb22f3ae0ed45f8598ba7cda1;hp=7a6f86b808509dbccafe35136d4eeaf0cfada5f1;hpb=f1e801be71ce93a746d984d1f0e6590c866a800c;p=rust.git diff --git a/src/test/mir-opt/remove_zsts_dont_touch_unions.rs b/src/test/mir-opt/remove_zsts_dont_touch_unions.rs index 7a6f86b8085..8b9de9b4d65 100644 --- a/src/test/mir-opt/remove_zsts_dont_touch_unions.rs +++ b/src/test/mir-opt/remove_zsts_dont_touch_unions.rs @@ -1,4 +1,4 @@ -// compile-flags: -Zmir-opt-level=3 +// unit-test: RemoveZsts // Ensure RemoveZsts doesn't remove ZST assignments to union fields, // which causes problems in Miri.