ICE: generic RPIT with implicit HRTB when missing dyn #101297
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Found originally via https://discord.com/channels/273534239310479360/273541522815713281/1014981030022750328
I managed to reduce it to
playground link
This seems to be related to a combination of RPIT, missing
dyn
keyword, implicit HRTB (&()
) and parenthesis syntax for the inner traitMeta
ICEs on both current beta (1.64) and latest nightly (1.65), but not on stable (1.63)
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: