rust/src/test/ui/parser/macro
Yiming Lei 0e19fb92e1 While parsing enum variant, the error message always disappear
Because the error message that emit out is from main error of parser
The information of enum variant disappears while parsing enum variant with error
We only check the syntax of expecting token, i.e, in case #103869
It will error it without telling the message that this error is from pasring enum variant.
Propagate the sub-error from parsing enum variant to the main error of parser by chaining it with map_err
Check the sub-error before emitting the main error of parser and attach it.
Fix #103869
2022-12-01 22:48:52 -08:00
..
bad-macro-argument.rs
bad-macro-argument.stderr
issue-33569.rs expand: Remove ParseSess::missing_fragment_specifiers 2022-04-09 15:44:19 +03:00
issue-33569.stderr bless ui tests 2022-10-01 10:03:06 +00:00
issue-37113.rs
issue-37113.stderr While parsing enum variant, the error message always disappear 2022-12-01 22:48:52 -08:00
issue-37234.rs
issue-37234.stderr Bless tests 2021-10-15 02:36:58 -05:00
literals-are-validated-before-expansion.rs
literals-are-validated-before-expansion.stderr Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
macro-doc-comments-1.rs
macro-doc-comments-1.stderr Show a note where a macro failed to match 2022-11-14 19:59:15 +01:00
macro-doc-comments-2.rs
macro-doc-comments-2.stderr Show a note where a macro failed to match 2022-11-14 19:59:15 +01:00
macro-incomplete-parse.rs
macro-incomplete-parse.stderr Bless tests 2021-10-15 02:36:58 -05:00
macro-repeat.rs
macro-repeat.stderr
pub-item-macro.rs
pub-item-macro.stderr Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
trait-non-item-macros.rs
trait-non-item-macros.stderr Bless tests 2021-10-15 02:36:58 -05:00
trait-object-macro-matcher.rs Lint bare traits in AstConv. 2021-12-04 23:13:58 +01:00
trait-object-macro-matcher.stderr Lint bare traits in AstConv. 2021-12-04 23:13:58 +01:00