thread 'rustc' panicked at 'no label after fn', compiler/rustc_span/src/source_map.rs:958:18 #94432
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
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
The ICE happens after correctly reporting the error "unknown start of token", so low priority. I guess that one part of the code treats
�
as whitespace, while another part of the code treats it as not whitespace, causing a logic error with this input. Affected versions: nightly 2022-02-26 and beta 1.60.0-beta1 are affected, but stable 1.59.0 does not ICE.Backtrace
The text was updated successfully, but these errors were encountered: