rust/tests/ui/parser/raw/raw-literal-underscore.rs

5 lines
77 B
Rust

fn main() {
let r#_: ();
//~^ ERROR `_` cannot be a raw identifier
}