ImplItemKind::TyAlias => ImplItemKind::Type
This commit is contained in:
parent
28eda9b18a
commit
70f3c79c50
27 changed files with 32 additions and 32 deletions
|
@ -898,7 +898,7 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> {
|
|||
Fn(..) => self.visit_early_late(impl_item.hir_id(), &impl_item.generics, |this| {
|
||||
intravisit::walk_impl_item(this, impl_item)
|
||||
}),
|
||||
TyAlias(ref ty) => {
|
||||
Type(ref ty) => {
|
||||
let generics = &impl_item.generics;
|
||||
let lifetimes: FxIndexMap<LocalDefId, Region> = generics
|
||||
.params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue