about summary refs log tree commit diff
path: root/tests/mir-opt/const_prop/mutable_variable.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 15:51:53 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 15:52:23 -0700
commit249a36ffbd577fc76153b7ad4cafd33607ee4ddc (patch)
treea79891cc428f6fd30a100242fae5066dee0c4533 /tests/mir-opt/const_prop/mutable_variable.rs
parent32185decd6875d5a86374043c7cfa77682b98ba3 (diff)
downloadrust-249a36ffbd577fc76153b7ad4cafd33607ee4ddc.tar.gz
rust-249a36ffbd577fc76153b7ad4cafd33607ee4ddc.zip
Update mir-opt filechecks
Diffstat (limited to 'tests/mir-opt/const_prop/mutable_variable.rs')
-rw-r--r--tests/mir-opt/const_prop/mutable_variable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/mutable_variable.rs b/tests/mir-opt/const_prop/mutable_variable.rs
index 9698fba6a11..3aa1b1bcd21 100644
--- a/tests/mir-opt/const_prop/mutable_variable.rs
+++ b/tests/mir-opt/const_prop/mutable_variable.rs
@@ -7,7 +7,7 @@ fn main() {
     // CHECK: debug y => [[y:_.*]];
     // CHECK: [[x]] = const 42_i32;
     // CHECK: [[x]] = const 99_i32;
-    // CHECK: [[y]] = [[x]];
+    // CHECK: [[y]] = copy [[x]];
     let mut x = 42;
     x = 99;
     let y = x;