From: Michael Goulet Date: Thu, 9 Feb 2023 04:01:26 +0000 (-0800) Subject: Rollup merge of #107813 - compiler-errors:bad-impl-trait-in-macro-is-ok, r=estebank X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=ab09405e99ec2a0feab5750eed67c8a35051f5f3;p=rust.git Rollup merge of #107813 - compiler-errors:bad-impl-trait-in-macro-is-ok, r=estebank Do not eagerly recover for bad `impl Trait` types in macros Fixes #107796 cc #106712, ```@estebank``` and ```@Ezrashaw``` please make sure to use [`Parser::may_recover`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/parser/struct.Parser.html#method.may_recover) for all eager-token-consuming parser recoveries. This also fixes a separate regression from #99915, that was introduced before we added `may_recover` though. --- ab09405e99ec2a0feab5750eed67c8a35051f5f3