rust/tests/ui/rfcs/rfc-2126-crate-paths/keyword-crate-as-identifier.rs

5 lines
117 B
Rust

fn main() {
let crate = 0;
//~^ ERROR expected unit struct, unit variant or constant, found module `crate`
}