Replace kw_span by full span.

This commit is contained in:
Camille GILLOT 2024-07-02 09:38:49 +00:00
parent 45b32efc49
commit a4f9d7a3f3

View file

@ -886,13 +886,13 @@ pub fn eq_generic_param(l: &GenericParam, r: &GenericParam) -> bool {
(
Const {
ty: lt,
kw_span: _,
default: ld,
span: _,
},
Const {
ty: rt,
kw_span: _,
default: rd,
span: _,
},
) => eq_ty(lt, rt) && both(ld.as_ref(), rd.as_ref(), eq_anon_const),
_ => false,