rust/tests/ui/keyword/extern/keyword-extern-as-identifier-use.rs
2023-01-11 09:32:08 +00:00

5 lines
142 B
Rust

use extern::foo; //~ ERROR expected identifier, found keyword `extern`
//~| ERROR unresolved import `r#extern`
fn main() {}