We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76dc555 commit dd2d390Copy full SHA for dd2d390
tests/mir-opt/copy-prop/issue_107511.rs
@@ -1,9 +1,12 @@
1
-// skip-filecheck
2
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
3
//@ test-mir-pass: CopyProp
4
5
// EMIT_MIR issue_107511.main.CopyProp.diff
6
fn main() {
+ // CHECK-LABEL: fn main(
7
+ // CHECK: debug i => [[i:_.*]];
8
+ // CHECK-NOT: StorageLive([[i]]);
9
+ // CHECK-NOT: StorageDead([[i]]);
10
let mut sum = 0;
11
let a = [0, 10, 20, 30];
12
0 commit comments