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
We currently infer some special relationships between regions based on region nesting. i.e., if you have fn foo<'a,'b>(x: &'a &'b int), we infer that 'a <= 'b. This is important for type checking impls, though it will become less so (and possibly irrelevant even) after DST (#6308) lands. In any case, in the meantime, as part of formalizing the type system, we should clarify precisely which kinds of nesting relationships yield subtyping relations. I have a FIXME in the code for the spot where this ought to be done.