X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=compiler%2Frustc_ast_lowering%2Fsrc%2Flifetime_collector.rs;h=3989fc486193e6d25922c6100b0ba91917f17e6d;hb=f25598a0c1bc63ebebc8fddfc72a3668f66863df;hp=914fc5f58da140a7110f3a380b9e0788ad4db42c;hpb=3c25461fe7bfa681160dfae3ca0617fbdaa450c3;p=rustc.git diff --git a/compiler/rustc_ast_lowering/src/lifetime_collector.rs b/compiler/rustc_ast_lowering/src/lifetime_collector.rs index 914fc5f58d..3989fc4861 100644 --- a/compiler/rustc_ast_lowering/src/lifetime_collector.rs +++ b/compiler/rustc_ast_lowering/src/lifetime_collector.rs @@ -83,7 +83,7 @@ impl<'ast> Visitor<'ast> for LifetimeCollectVisitor<'ast> { visit::walk_ty(self, t); self.current_binders.pop(); } - TyKind::Rptr(None, _) => { + TyKind::Ref(None, _) => { self.record_elided_anchor(t.id, t.span); visit::walk_ty(self, t); }