hir: remove NodeId from TraitRef
This commit is contained in:
parent
aa6a9c3f41
commit
01cf66bb30
7 changed files with 7 additions and 15 deletions
|
|
@ -115,7 +115,6 @@ impl<'a, 'tcx, 'rcx> AutoTraitFinder<'a, 'tcx, 'rcx> {
|
|||
if result.is_auto() {
|
||||
let trait_ = hir::TraitRef {
|
||||
path: get_path_for_type(self.cx.tcx, trait_def_id, hir::def::Def::Trait),
|
||||
ref_id: ast::DUMMY_NODE_ID,
|
||||
hir_ref_id: hir::DUMMY_HIR_ID,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -123,7 +123,6 @@ impl<'a, 'tcx, 'rcx> BlanketImplFinder <'a, 'tcx, 'rcx> {
|
|||
path: get_path_for_type(infcx.tcx,
|
||||
trait_def_id,
|
||||
hir::def::Def::Trait),
|
||||
ref_id: ast::DUMMY_NODE_ID,
|
||||
hir_ref_id: hir::DUMMY_HIR_ID,
|
||||
};
|
||||
let provided_trait_methods =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue