ICE when iterating over a u16
range whose bounds exceed 64k
#63364
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
An ICE is observable with this code:
Changing
part
to take au32
rather thanu16
makes the ICE go away.Playground link
The text was updated successfully, but these errors were encountered: