summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-17718-const-mut.stderr
blob: 8251ce9993fa9aa52e96609a4194a465089e1244 (plain)
1
2
3
4
5
6
7
8
9
10
error: const globals cannot be mutable
  --> $DIR/issue-17718-const-mut.rs:2:1
   |
LL | const
   | ----- help: you might want to declare a static instead: `static`
LL | mut
   | ^^^ cannot be mutable

error: aborting due to previous error