summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/invalid-punct-ident-4.rs
blob: 2d2774bd194c7e9c82d95e74c9f5f9e5c67b6002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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
}