about summary refs log tree commit diff
path: root/tests/ui/static/reference-of-mut-static-safe.e2021.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/static/reference-of-mut-static-safe.e2021.stderr')
-rw-r--r--tests/ui/static/reference-of-mut-static-safe.e2021.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/static/reference-of-mut-static-safe.e2021.stderr b/tests/ui/static/reference-of-mut-static-safe.e2021.stderr
index c38fe879063..16f47ace3a9 100644
--- a/tests/ui/static/reference-of-mut-static-safe.e2021.stderr
+++ b/tests/ui/static/reference-of-mut-static-safe.e2021.stderr
@@ -14,10 +14,10 @@ LL |     let _x = addr_of!(X);
    |              ~~~~~~~~~~~
 
 error[E0133]: use of mutable static is unsafe and requires unsafe function or block
-  --> $DIR/reference-of-mut-static-safe.rs:9:14
+  --> $DIR/reference-of-mut-static-safe.rs:9:15
    |
 LL |     let _x = &X;
-   |              ^^ use of mutable static
+   |               ^ use of mutable static
    |
    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior