os-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
Text
Raw Normal View History

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