Skip to content

Commit 5e757c9

Browse files
Rollup merge of #152803 - TaKO8Ki:fix-152744-diagnostic-attr-ice, r=JonathanBrouwer
Avoid delayed-bug ICE for malformed diagnostic attrs Fixes rust-lang/rust#152744 Skip suggestions in `expected_lit` when parsing with `Recovery::Forbidden`, since this may later cancel `InvalidMetaItem`. This avoids creating delayed bugs that can be promoted to ICE.
2 parents c875f68 + 326a037 commit 5e757c9

0 file changed

File tree

    0 commit comments

    Comments
     (0)