summary refs log tree commit diff
path: root/src/test/ui/parser/issue-17718-const-mut.stderr
blob: 19f9fe19ef5abaf88a018db5e5d6ec003e2c1cbe (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 //~ ERROR: const globals cannot be mutable
   | ^^^ cannot be mutable

error: aborting due to previous error