GAT + RPTIT + Refined lifetimes = ICE #114145
Labels
C-bug
Category: This is a bug.
F-return_position_impl_trait_in_trait
`#![feature(return_position_impl_trait_in_trait)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-types
Relevant to the types team, which will review and decide on the PR/issue.
Code
Playground: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=e5dcadac111f6d397f4554167e2aa03e
Meta
rustc --version --verbose
:Error output
Backtrace
Additional notes
Item<'a>
is required to trigger this error. IfItem
is an ordinary, non-generic associated type, the ICE does not occur.item_name: no name for DefPath {..}
#113794 but I felt it was worth opening a new issue in case they're not related.The text was updated successfully, but these errors were encountered: