ICE when using constraint on Generic Associated Type #52068
Labels
A-GATs
Area: Generic associated types (GATs)
A-trait-system
Area: Trait system
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
The following code
causes this ICE:
Version info:
As a workaround I can instead implement this as:
with the downside being I need to require users of the trait to work with
PhantomData
😦 .The text was updated successfully, but these errors were encountered: