diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-07-02 09:38:49 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2025-07-03 14:59:27 +0000 |
| commit | a4f9d7a3f3de0096780e86b7a82a8474fc14fc59 (patch) | |
| tree | d71e2ff565018803fba7f337d712dc000dfe9d31 | |
| parent | 45b32efc499d0db2a896a03812a0b55825dce7cb (diff) | |
| download | rust-a4f9d7a3f3de0096780e86b7a82a8474fc14fc59.tar.gz rust-a4f9d7a3f3de0096780e86b7a82a8474fc14fc59.zip | |
Replace kw_span by full span.
| -rw-r--r-- | clippy_utils/src/ast_utils/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_utils/src/ast_utils/mod.rs b/clippy_utils/src/ast_utils/mod.rs index e65914b9b5e..e6396987cc6 100644 --- a/clippy_utils/src/ast_utils/mod.rs +++ b/clippy_utils/src/ast_utils/mod.rs @@ -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, |
