rustc crashes when impl Iterator for X {}
has a function with a return type containing Item
#130198
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.
Code
even more minimal:
Meta
rustc --version --verbose
:Error output
RUST_BACKTRACE=1 rustc --edition 2021 rustc_crash_code.rs
:Backtrace
rustc-ice-2024-09-10T13_56_41-37663.txt
The text was updated successfully, but these errors were encountered: