about summary refs log tree commit diff
path: root/tests/ui/consts/partial_qualif.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/partial_qualif.rs')
-rw-r--r--tests/ui/consts/partial_qualif.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/partial_qualif.rs b/tests/ui/consts/partial_qualif.rs
index 6770e138eca..18438cc576b 100644
--- a/tests/ui/consts/partial_qualif.rs
+++ b/tests/ui/consts/partial_qualif.rs
@@ -3,7 +3,7 @@ use std::cell::Cell;
 const FOO: &(Cell<usize>, bool) = {
     let mut a = (Cell::new(0), false);
     a.1 = true; // sets `qualif(a)` to `qualif(a) | qualif(true)`
-    &{a} //~ ERROR interior mutable shared borrows of lifetime-extended temporaries
+    &{a} //~ ERROR interior mutable shared borrows of temporaries
 };
 
 fn main() {}