about summary refs log tree commit diff
path: root/tests/ui/statics/static-recursive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/statics/static-recursive.rs')
-rw-r--r--tests/ui/statics/static-recursive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/statics/static-recursive.rs b/tests/ui/statics/static-recursive.rs
index f504e2a79f0..29b80818b7d 100644
--- a/tests/ui/statics/static-recursive.rs
+++ b/tests/ui/statics/static-recursive.rs
@@ -1,7 +1,7 @@
 //@ run-pass
 
 static mut S: *const u8 = unsafe { &S as *const *const u8 as *const u8 };
-//~^ WARN shared reference of mutable static is discouraged [static_mut_ref]
+//~^ WARN shared reference to mutable static is discouraged [static_mut_refs]
 
 struct StaticDoubleLinked {
     prev: &'static StaticDoubleLinked,