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
traitT{}fnwrap(x:implT) -> implT{//~^ WARN function cannot return without recursingwrap(wrap(x))}fnmain(){}
The text was updated successfully, but these errors were encountered:
lcnr
changed the title
unconstrained RPIT types error instead of falling back to ()
unconstrained RPIT error instead of falling back to ()Jan 21, 2025
lcnr
changed the title
unconstrained RPIT error instead of falling back to ()
unconstrained RPIT cause ambiguity errors instead of falling back to ()Jan 21, 2025
The root cause of this is probably a combination of
(1.) we can rely on opaques's item bounds holding in the defining scope even if we don't know the hidden type.
(2.) an opaque can be defined to its own opaque type, which we special-case in writeback and ultimately ignore.
The text was updated successfully, but these errors were encountered: