From 249a36ffbd577fc76153b7ad4cafd33607ee4ddc Mon Sep 17 00:00:00 2001 From: Scott McMurray Date: Sun, 18 Aug 2024 15:51:53 -0700 Subject: Update mir-opt filechecks --- tests/mir-opt/const_prop/mutable_variable_aggregate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mir-opt/const_prop/mutable_variable_aggregate.rs') diff --git a/tests/mir-opt/const_prop/mutable_variable_aggregate.rs b/tests/mir-opt/const_prop/mutable_variable_aggregate.rs index 80cd75215c1..bb8bf7f7164 100644 --- a/tests/mir-opt/const_prop/mutable_variable_aggregate.rs +++ b/tests/mir-opt/const_prop/mutable_variable_aggregate.rs @@ -8,7 +8,7 @@ fn main() { // CHECK: debug y => [[y:_.*]]; // CHECK: [[x]] = const (42_i32, 43_i32); // CHECK: ([[x]].1: i32) = const 99_i32; - // CHECK: [[y]] = [[x]]; + // CHECK: [[y]] = copy [[x]]; let mut x = (42, 43); x.1 = 99; let y = x; -- cgit 1.4.1-3-g733a5