ICE when trying to make trait inheritence + 'self region work #8873
Labels
A-lifetimes
Area: Lifetimes / regions
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Was working on trying to inherit from a trait with a
<'self>
lifetime parameter, like so:and was getting this compile error:
So I thought maybe I could just annotate the inherited trait with the lifetime:
which produced this ice:
AFAICT, it's putting
<'self>
onA
when declaringB
is what's causing the ICE.The text was updated successfully, but these errors were encountered: