]> git.lizzy.rs Git - rust.git/blob - tests/ui/nll/constant-thread-locals-issue-47053.stderr
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / ui / nll / constant-thread-locals-issue-47053.stderr
1 error[E0594]: cannot assign to immutable static item `FOO`
2   --> $DIR/constant-thread-locals-issue-47053.rs:9:5
3    |
4 LL |     FOO = 6;
5    |     ^^^^^^^ cannot assign
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0594`.