Apply Recovery::Forbidden when reparsing pasted macro fragments.

Fixes #137874.

Removes `tests/crashes/137874.rs`; the new test is simpler (defines its
own macro) but tests the same thing.

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.
This commit is contained in:
Nicholas Nethercote 2025-04-04 09:34:01 +11:00
parent aa1b7bf070
commit b9e13cb539
6 changed files with 48 additions and 30 deletions

View file

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