about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2024-07-02 09:38:49 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2025-07-03 14:59:27 +0000
commit3380bfd1a00fe3f85e8597bfdb9ad4d65df75da9 (patch)
tree4f7f10aa2d1f4a6a111dfdaf76515fdfe4b3e127 /compiler/rustc_ast_lowering/src
parent6268d0aa34b46981533b09827c1454b8cf27e032 (diff)
downloadrust-3380bfd1a00fe3f85e8597bfdb9ad4d65df75da9.tar.gz
rust-3380bfd1a00fe3f85e8597bfdb9ad4d65df75da9.zip
Replace kw_span by full span.
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
-rw-r--r--compiler/rustc_ast_lowering/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/lib.rs b/compiler/rustc_ast_lowering/src/lib.rs
index d14e27982ef..0706bdb119f 100644
--- a/compiler/rustc_ast_lowering/src/lib.rs
+++ b/compiler/rustc_ast_lowering/src/lib.rs
@@ -1960,7 +1960,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
 
                 (hir::ParamName::Plain(self.lower_ident(param.ident)), kind)
             }
-            GenericParamKind::Const { ty, kw_span: _, default } => {
+            GenericParamKind::Const { ty, span: _, default } => {
                 let ty = self
                     .lower_ty(ty, ImplTraitContext::Disallowed(ImplTraitPosition::GenericDefault));