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:
parent
aa1b7bf070
commit
b9e13cb539
6 changed files with 48 additions and 30 deletions
|
@ -1,4 +0,0 @@
|
|||
//@ known-bug: #137874
|
||||
fn a() {
|
||||
match b { deref !(0c) };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue