rust/tests/ui/proc-macro/invalid-punct-ident-4.rs
2023-01-11 09:32:08 +00:00

14 lines
307 B
Rust

// aux-build:invalid-punct-ident.rs
// needs-unwind proc macro panics to report errors
#[macro_use]
extern crate invalid_punct_ident;
lexer_failure!();
//~^ ERROR proc macro panicked
//~| ERROR unexpected closing delimiter: `)`
fn main() {
let _recovery_witness: () = 0; //~ ERROR mismatched types
}