diff options
Diffstat (limited to 'tests/ui/const_prop/ice-assert-fail-div-by-zero.rs')
| -rw-r--r-- | tests/ui/const_prop/ice-assert-fail-div-by-zero.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/const_prop/ice-assert-fail-div-by-zero.rs b/tests/ui/const_prop/ice-assert-fail-div-by-zero.rs index 2afbf3432fb..b81f5177e1c 100644 --- a/tests/ui/const_prop/ice-assert-fail-div-by-zero.rs +++ b/tests/ui/const_prop/ice-assert-fail-div-by-zero.rs @@ -1,8 +1,8 @@ -// check-pass +//@ check-pass // need to emit MIR, because const prop (which emits `unconditional_panic`) only runs if // the `optimized_mir` query is run, which it isn't in check-only mode. -// compile-flags: --crate-type lib --emit=mir,link +//@ compile-flags: --crate-type lib --emit=mir,link #![warn(unconditional_panic)] |
