about summary refs log tree commit diff
path: root/tests/mir-opt/array_index_is_temporary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/array_index_is_temporary.rs')
-rw-r--r--tests/mir-opt/array_index_is_temporary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/array_index_is_temporary.rs b/tests/mir-opt/array_index_is_temporary.rs
index 771fb3771b5..cda9e86b3e6 100644
--- a/tests/mir-opt/array_index_is_temporary.rs
+++ b/tests/mir-opt/array_index_is_temporary.rs
@@ -15,7 +15,7 @@ fn main() {
     // CHECK: debug x => [[x:_.*]];
     // CHECK: debug y => [[y:_.*]];
     // CHECK: [[y]] = const 1_usize;
-    // CHECK: [[tmp:_.*]] = [[y]];
+    // CHECK: [[tmp:_.*]] = copy [[y]];
     // CHECK: [[x]][[[tmp]]] =
     let mut x = [42, 43, 44];
     let mut y = 1;