]> git.lizzy.rs Git - rust.git/blob - tests/ui/borrowck/borrowck-assign-to-constants.stderr
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / borrowck / borrowck-assign-to-constants.stderr
1 error[E0594]: cannot assign to immutable static item `foo`
2   --> $DIR/borrowck-assign-to-constants.rs:5: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`.