You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then we don't generate the clause for Sized impl (at least with SLG).
We pass Implemented(Ty(?0i): TraitId(DefId(2:1942 ~ core[d282]::marker[0]::Sized[0]))) to program_clauses_for_goal; the ?0i self type is not covered in add_sized_program_clauses. I haven't tested Copy/Clone, but I'm almost certain the same problem occurs. Edit: forgot that these are in libcore, so aren't builtin for ints/floats.
The text was updated successfully, but these errors were encountered:
So, this regression happened sometime between 0.14 and 0.20.
Basically, if we have a goal like
then we don't generate the clause for
Sized
impl (at least with SLG).We pass
Implemented(Ty(?0i): TraitId(DefId(2:1942 ~ core[d282]::marker[0]::Sized[0])))
toprogram_clauses_for_goal
; the?0i
self type is not covered inadd_sized_program_clauses
.I haven't testedEdit: forgot that these are in libcore, so aren't builtin for ints/floats.Copy
/Clone
, but I'm almost certain the same problem occurs.The text was updated successfully, but these errors were encountered: