Skip to content

Commit

Permalink
Rollup merge of rust-lang#104335 - Nilstrieb:macrowo, r=compiler-errors
Browse files Browse the repository at this point in the history
Only do parser recovery on retried macro matching

Eager parser recovery can break macros, so we don't do it at first. But when we already know that the macro failed, we can retry it with recovery enabled to still emit useful diagnostics.

Helps with rust-lang#103534
  • Loading branch information
matthiaskrgr authored Nov 16, 2022
2 parents 353a75d + eb47a0f commit f9c6c95
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f9c6c95

Please sign in to comment.