rust/tests/ui/error-codes/E0594.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
247 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0594]: cannot assign to immutable static item `NUM`
--> $DIR/E0594.rs:4:5
2018-08-08 07:28:26 -05:00
|
LL | NUM = 20;
2018-08-08 07:28:26 -05:00
| ^^^^^^^^ cannot assign
error: aborting due to previous error
2019-11-06 06:58:44 -06:00
For more information about this error, try `rustc --explain E0594`.