diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/nll/constant-thread-locals-issue-47053.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/nll/constant-thread-locals-issue-47053.stderr b/src/test/ui/nll/constant-thread-locals-issue-47053.stderr new file mode 100644 index 000000000..a44acfb5f --- /dev/null +++ b/src/test/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`. |