summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-17718-const-mut.rs
blob: 795a8c7631d9a84d28b78bffd908933ba79e7d43 (plain)
1
2
3
4
5
6
7
const
mut //~ ERROR: const globals cannot be mutable
//~^^ HELP you might want to declare a static instead
FOO: usize = 3;

fn main() {
}