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