Remove {ast,hir}::WhereEqPredicate::id
.
These fields are unused.
This commit is contained in:
parent
40336865fe
commit
3e04fed6fa
7 changed files with 4 additions and 16 deletions
|
@ -640,11 +640,7 @@ impl<'a> TraitDef<'a> {
|
|||
}
|
||||
ast::WherePredicate::EqPredicate(we) => {
|
||||
let span = we.span.with_ctxt(ctxt);
|
||||
ast::WherePredicate::EqPredicate(ast::WhereEqPredicate {
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
span,
|
||||
..we.clone()
|
||||
})
|
||||
ast::WherePredicate::EqPredicate(ast::WhereEqPredicate { span, ..we.clone() })
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue