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

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

26 lines
793 B
Plaintext
Raw Normal View History

error: unexpected closing delimiter: `)`
--> $DIR/invalid-punct-ident-4.rs:7:1
|
2019-03-09 15:03:44 +03:00
LL | lexer_failure!();
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^^^^ unexpected closing delimiter
|
= note: this error originates in the macro `lexer_failure` (in Nightly builds, run with -Z macro-backtrace for more info)
error: proc macro panicked
--> $DIR/invalid-punct-ident-4.rs:7:1
|
2019-03-09 15:03:44 +03:00
LL | lexer_failure!();
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^^^^
2020-03-18 13:34:11 +01:00
error[E0308]: mismatched types
--> $DIR/invalid-punct-ident-4.rs:12:33
2020-03-17 10:09:18 +01:00
|
2020-03-18 13:34:11 +01:00
LL | let _recovery_witness: () = 0;
| -- ^ expected `()`, found integer
| |
| expected due to this
2020-03-17 10:09:18 +01:00
error: aborting due to 3 previous errors
2020-03-18 13:34:11 +01:00
For more information about this error, try `rustc --explain E0308`.