about summary refs log tree commit diff
path: root/tests/ui/statics/check-immutable-mut-slices.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/statics/check-immutable-mut-slices.rs')
-rw-r--r--tests/ui/statics/check-immutable-mut-slices.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/statics/check-immutable-mut-slices.rs b/tests/ui/statics/check-immutable-mut-slices.rs
index 9e5ca5059d6..19545a1c925 100644
--- a/tests/ui/statics/check-immutable-mut-slices.rs
+++ b/tests/ui/statics/check-immutable-mut-slices.rs
@@ -1,6 +1,6 @@
 // Checks that immutable static items can't have mutable slices
 
 static TEST: &'static mut [isize] = &mut [];
-//~^ ERROR mutable borrows of lifetime-extended temporaries
+//~^ ERROR mutable borrows of temporaries
 
 pub fn main() { }