Files
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.

15 lines
249 B
Plaintext
Raw Normal View History

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