]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/thread-local-mutation.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / thread-local-mutation.stderr
index 685e7c6585a0f647c2dc816cb6ff8a4902319db3..7f7738b5d65094cb5d1a132a6d9777a9e05c7709 100644 (file)
@@ -1,9 +1,8 @@
-error[E0594]: cannot assign to immutable thread-local static item
+error[E0594]: cannot assign to immutable static item `S`
   --> $DIR/thread-local-mutation.rs:11:5
    |
 LL |     S = "after";
-   |     ^^^^^^^^^^^
+   |     ^^^^^^^^^^^ cannot assign
 
 error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0594`.