mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
8 lines
138 B
Rust
8 lines
138 B
Rust
const
|
|
mut //~ ERROR: const globals cannot be mutable
|
|
//~^^ HELP you might want to declare a static instead
|
|
FOO: usize = 3;
|
|
|
|
fn main() {
|
|
}
|