Only store a LocalDefId in hir::TraitItem.
This commit is contained in:
parent
2dc65397ee
commit
fc9bc33bba
9 changed files with 15 additions and 19 deletions
|
|
@ -147,7 +147,7 @@ impl<'tcx> LateLintPass<'tcx> for Ptr {
|
|||
} else {
|
||||
None
|
||||
};
|
||||
check_fn(cx, &sig.decl, item.hir_id, body_id);
|
||||
check_fn(cx, &sig.decl, item.hir_id(), body_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue