summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/constant-thread-locals-issue-47053.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nll/constant-thread-locals-issue-47053.stderr')
-rw-r--r--tests/ui/nll/constant-thread-locals-issue-47053.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/nll/constant-thread-locals-issue-47053.stderr b/tests/ui/nll/constant-thread-locals-issue-47053.stderr
new file mode 100644
index 000000000..a44acfb5f
--- /dev/null
+++ b/tests/ui/nll/constant-thread-locals-issue-47053.stderr
@@ -0,0 +1,9 @@
+error[E0594]: cannot assign to immutable static item `FOO`
+ --> $DIR/constant-thread-locals-issue-47053.rs:9:5
+ |
+LL | FOO = 6;
+ | ^^^^^^^ cannot assign
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0594`.