summaryrefslogtreecommitdiffstats
path: root/tests/ui/thread-local/thread-local-mutation.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/thread-local/thread-local-mutation.stderr')
-rw-r--r--tests/ui/thread-local/thread-local-mutation.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/thread-local/thread-local-mutation.stderr b/tests/ui/thread-local/thread-local-mutation.stderr
new file mode 100644
index 000000000..e5dc0e72e
--- /dev/null
+++ b/tests/ui/thread-local/thread-local-mutation.stderr
@@ -0,0 +1,9 @@
+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`.