Skip to content

Commit 7f0e87a

Browse files
authored
Rollup merge of #48036 - durka:proc-macro-doteq, r=alexcrichton
proc_macro: don't panic parsing ..= (fix #47950)
2 parents d0e7da4 + 3cf73f4 commit 7f0e87a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libproc_macro/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ impl TokenTree {
685685
})
686686
}
687687

688-
DotEq => unreachable!(),
688+
DotEq => joint!('.', Eq),
689689
OpenDelim(..) | CloseDelim(..) => unreachable!(),
690690
Whitespace | Comment | Shebang(..) | Eof => unreachable!(),
691691
};

0 commit comments

Comments
 (0)