internal compiler error: the following error was constructed but not emitted: unexpected token: .
#90993
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm seeing an internal compiler error on the following input, found by fuzz-rustc:
Code
Error output
Affected versions: I tried stable 1.56.1 and nightly 2021-11-16
Backtrace
I already found a solution, this line is missing
e.cancel()
before dropping the error returned byparse_pat_range_end
:rust/compiler/rustc_parse/src/parser/pat.rs
Line 820 in c9c4b5d
The text was updated successfully, but these errors were encountered: