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
|
@ -1498,9 +1498,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
),
|
||||
in_where_clause: true,
|
||||
}),
|
||||
WherePredicate::EqPredicate(WhereEqPredicate { id, ref lhs_ty, ref rhs_ty, span }) => {
|
||||
WherePredicate::EqPredicate(WhereEqPredicate { ref lhs_ty, ref rhs_ty, span }) => {
|
||||
hir::WherePredicate::EqPredicate(hir::WhereEqPredicate {
|
||||
hir_id: self.lower_node_id(id),
|
||||
lhs_ty: self
|
||||
.lower_ty(lhs_ty, ImplTraitContext::Disallowed(ImplTraitPosition::Type)),
|
||||
rhs_ty: self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue