about summary refs log tree commit diff
path: root/tests/mir-opt/const_prop/pointer_expose_provenance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/const_prop/pointer_expose_provenance.rs')
-rw-r--r--tests/mir-opt/const_prop/pointer_expose_provenance.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/pointer_expose_provenance.rs b/tests/mir-opt/const_prop/pointer_expose_provenance.rs
index a76fead9859..bee8a985f8f 100644
--- a/tests/mir-opt/const_prop/pointer_expose_provenance.rs
+++ b/tests/mir-opt/const_prop/pointer_expose_provenance.rs
@@ -10,7 +10,7 @@ fn main() {
     // CHECK: [[ptr:_.*]] = const main::FOO;
     // CHECK: [[ref:_.*]] = &raw const (*[[ptr]]);
     // CHECK: [[x:_.*]] = move [[ref]] as usize (PointerExposeProvenance);
-    // CHECK: = read([[x]])
+    // CHECK: = read(copy [[x]])
     const FOO: &i32 = &1;
     let x = FOO as *const i32 as usize;
     read(x);