summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0594.stderr
blob: f4d96f4e45a568f865e6bf359a6434edfa3517c1 (plain)
1
2
3
4
5
6
7
8
9
error[E0594]: cannot assign to immutable static item `NUM`
  --> $DIR/E0594.rs:4:5
   |
LL |     NUM = 20;
   |     ^^^^^^^^ cannot assign

error: aborting due to previous error

For more information about this error, try `rustc --explain E0594`.