Unused lifetime cause ICE #64173
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
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) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code ICE's on stable, beta and nightly:
Backtrace:
Feel free to close if this is a duplicate of #56445.
What I noticed is that when the lifetime is removed, it just compiles fine:
The text was updated successfully, but these errors were encountered: