rust/tests/ui/parser/issues/issue-17718-const-mut.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
243 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: const globals cannot be mutable
--> $DIR/issue-17718-const-mut.rs:2:1
2018-10-20 15:36:17 -05:00
|
LL | const
| ----- help: you might want to declare a static instead: `static`
2019-03-09 06:03:44 -06:00
LL | mut
| ^^^ cannot be mutable
2018-10-20 15:36:17 -05:00
error: aborting due to 1 previous error
2018-10-20 15:36:17 -05:00