2018-05-05 14:45:59 -05:00
|
|
|
// aux-build:invalid-punct-ident.rs
|
2022-09-12 17:42:04 -05:00
|
|
|
// needs-unwind proc macro panics to report errors
|
2018-05-13 10:46:38 -05:00
|
|
|
|
2020-03-18 07:34:11 -05:00
|
|
|
#[macro_use]
|
2018-05-05 14:45:59 -05:00
|
|
|
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
|
|
|
|
}
|