The Self
type is not monomorphized correctly
#6129
Labels
A-trait-system
Area: Trait system
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
The following variation on default-method-simple dies with an ICE:
the reason for this is that the call to
boop
requires an auto-ref, and when we evaluate adef_self
we get backty_self
, which never gets substititued. I have some theories on how best to fix this :) but for now I am just tagging it and adding some workarounds to the patch on the borrow checker (search for FIXMEs)The text was updated successfully, but these errors were encountered: