]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast_lowering/src/lib.rs
Rollup merge of #101813 - GuillaumeGomez:check-css-variables, r=notriddle
[rust.git] / compiler / rustc_ast_lowering / src / lib.rs
index 0720f23ed756d449ad3c7f50155ee323912cfa54..409ee55268cad51827e11c79e1e0b76e4e18d3ee 100644 (file)
@@ -1289,7 +1289,7 @@ fn lower_ty_direct(&mut self, t: &Ty, itctx: &mut ImplTraitContext) -> hir::Ty<'
                 return self.lower_path_ty(t, qself, path, ParamMode::Explicit, itctx);
             }
             TyKind::ImplicitSelf => {
-                let hir_id = self.lower_node_id(t.id);
+                let hir_id = self.next_id();
                 let res = self.expect_full_res(t.id);
                 let res = self.lower_res(res);
                 hir::TyKind::Path(hir::QPath::Resolved(