]> git.lizzy.rs Git - rust.git/blobdiff - tests/mir-opt/const_prop/slice_len.rs
Auto merge of #107443 - cjgillot:generator-less-query, r=compiler-errors
[rust.git] / tests / mir-opt / const_prop / slice_len.rs
index eaaf34b960eb66a84bd0ef5f43aa95c3b26e3bcc..8183def0c63dbda29ffd08a43dd70fa1fb8cfcfb 100644 (file)
@@ -1,4 +1,5 @@
-// compile-flags: -Zmir-enable-passes=-SimplifyLocals-before-const-prop
+// unit-test: ConstProp
+// compile-flags: -Zmir-enable-passes=+InstCombine
 // EMIT_MIR_FOR_EACH_BIT_WIDTH
 
 // EMIT_MIR slice_len.main.ConstProp.diff