]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/invalid-punct-ident-4.stderr
Rollup merge of #106816 - TimNN:rental-remap, r=oli-obj
[rust.git] / tests / ui / proc-macro / invalid-punct-ident-4.stderr
1 error: unexpected closing delimiter: `)`
2   --> $DIR/invalid-punct-ident-4.rs:7:1
3    |
4 LL | lexer_failure!();
5    | ^^^^^^^^^^^^^^^^ unexpected closing delimiter
6    |
7    = note: this error originates in the macro `lexer_failure` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: proc macro panicked
10   --> $DIR/invalid-punct-ident-4.rs:7:1
11    |
12 LL | lexer_failure!();
13    | ^^^^^^^^^^^^^^^^
14
15 error[E0308]: mismatched types
16   --> $DIR/invalid-punct-ident-4.rs:12:33
17    |
18 LL |     let _recovery_witness: () = 0;
19    |                            --   ^ expected `()`, found integer
20    |                            |
21    |                            expected due to this
22
23 error: aborting due to 3 previous errors
24
25 For more information about this error, try `rustc --explain E0308`.