1
Fork 0

Remove {ast,hir}::WhereEqPredicate::id.

These fields are unused.
This commit is contained in:
Nicholas Nethercote 2022-07-29 10:16:25 +10:00
parent 40336865fe
commit 3e04fed6fa
7 changed files with 4 additions and 16 deletions

View file

@ -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() })
}
}
}));