]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-17718-const-mut.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-17718-const-mut.rs
1 const
2 mut //~ ERROR: const globals cannot be mutable
3 //~^^ HELP you might want to declare a static instead
4 FOO: usize = 3;
5
6 fn main() {
7 }