]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-17718-const-mut.stderr
Rollup merge of #58122 - matthieu-m:range_incl_perf, r=dtolnay
[rust.git] / src / test / ui / parser / issue-17718-const-mut.stderr
1 error: const globals cannot be mutable
2   --> $DIR/issue-17718-const-mut.rs:2:1
3    |
4 LL | const
5    | ----- help: you might want to declare a static instead: `static`
6 LL | mut //~ ERROR: const globals cannot be mutable
7    | ^^^ cannot be mutable
8
9 error: aborting due to previous error
10