]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-17718-const-mut.stderr
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
[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
7    | ^^^ cannot be mutable
8
9 error: aborting due to previous error
10