Rollup merge of #139341 - nnethercote:fix-137874, r=petrochenkov

Apply `Recovery::Forbidden` when reparsing pasted macro fragments.

Fixes #137874.

The changes to the output of `tests/ui/associated-consts/issue-93835.rs`
partly undo the changes seen when `NtTy` was removed in #133436, which
is good.

r? ``@petrochenkov``
This commit is contained in:
Stuart Cook 2025-04-05 13:18:17 +11:00 committed by GitHub
commit 66ccc4fe28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 33 deletions

View file

@ -1,4 +0,0 @@
//@ known-bug: #137874
fn a() {
match b { deref !(0c) };
}