blob: a27f517086efa03b6e9a4072c01aa17e60f0211f (
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 1 previous error
|