We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a7bf4a commit 4314bd7Copy full SHA for 4314bd7
tests/mir-opt/pre-codegen/slice_index.rs
@@ -1,5 +1,5 @@
1
// skip-filecheck
2
-//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
+//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Z ub-checks=yes
3
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
4
5
#![crate_type = "lib"]
0 commit comments