1
Fork 0

Make TAITs capture all higher-ranked lifetimes in scope

This commit is contained in:
Michael Goulet 2024-03-06 17:52:53 +00:00
parent 9823f17315
commit cf299ddb6e
17 changed files with 122 additions and 152 deletions

View file

@ -2562,6 +2562,8 @@ pub enum OpaqueTyOrigin {
AsyncFn(LocalDefId),
/// type aliases: `type Foo = impl Trait;`
TyAlias {
/// The type alias or associated type parent of the TAIT/ATPIT
parent: LocalDefId,
/// associated types in impl blocks for traits.
in_assoc_ty: bool,
},