]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast_lowering/src/lifetime_collector.rs
Rollup merge of #106849 - WaffleLapkin:unvec, r=Nilstrieb
[rust.git] / compiler / rustc_ast_lowering / src / lifetime_collector.rs
index 914fc5f58da140a7110f3a380b9e0788ad4db42c..3989fc486193e6d25922c6100b0ba91917f17e6d 100644 (file)
@@ -83,7 +83,7 @@ fn visit_ty(&mut self, t: &'ast Ty) {
                 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);
             }