Box HIR Generics and Impl.
This commit is contained in:
parent
76d4862fdd
commit
71b4e2d852
16 changed files with 61 additions and 56 deletions
|
@ -512,7 +512,7 @@ impl<'v, 'tcx> ItemLikeVisitor<'v> for LifeSeeder<'tcx> {
|
|||
if of_trait.is_some() {
|
||||
self.worklist.push(item.def_id);
|
||||
}
|
||||
for impl_item_ref in items {
|
||||
for impl_item_ref in *items {
|
||||
let impl_item = self.tcx.hir().impl_item(impl_item_ref.id);
|
||||
if of_trait.is_some()
|
||||
|| has_allow_dead_code_or_lang_attr(self.tcx, impl_item.hir_id())
|
||||
|
|
|
@ -737,7 +737,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
for impl_item_ref in items {
|
||||
for impl_item_ref in *items {
|
||||
let impl_item = self.tcx.associated_item(impl_item_ref.id.def_id);
|
||||
|
||||
if let Some(def_id) = impl_item.trait_item_def_id {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue