rust/tests/ui/proc-macro/invalid-punct-ident-4.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
307 B
Rust
Raw Normal View History

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