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

error: aborting due to previous error

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