1
Fork 0

RPITIT placeholder items

This commit is contained in:
Michael Goulet 2022-08-31 03:04:44 +00:00
parent c6861df836
commit 78b962a4f3
21 changed files with 70 additions and 2 deletions

View file

@ -972,6 +972,7 @@ impl<'a, 'b> BuildReducedGraphVisitor<'a, 'b> {
| DefKind::TyAlias
| DefKind::ForeignTy
| DefKind::OpaqueTy
| DefKind::ImplTraitPlaceholder
| DefKind::TraitAlias
| DefKind::AssocTy,
_,

View file

@ -596,6 +596,9 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> {
}
}
}
hir::ItemKind::ImplTraitPlaceholder(..) => {
// FIXME(RPITIT): We don't need to do anything here, right?
}
hir::ItemKind::TyAlias(_, ref generics)
| hir::ItemKind::Enum(_, ref generics)
| hir::ItemKind::Struct(_, ref generics)