From b41a483e8aff6c6d8a0104cfc8370159f941b81d Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Wed, 14 Dec 2022 18:55:55 +0000 Subject: [PATCH] Fix rustdoc --- compiler/rustc_middle/src/ty/sty.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs index e073637402fc..66aeebab88ba 100644 --- a/compiler/rustc_middle/src/ty/sty.rs +++ b/compiler/rustc_middle/src/ty/sty.rs @@ -1164,7 +1164,7 @@ pub struct AliasTy<'tcx> { pub def_id: DefId, /// This field exists to prevent the creation of `ProjectionTy` without using - /// [TyCtxt::mk_projection_ty]. + /// [TyCtxt::mk_alias_ty]. pub(super) _use_mk_alias_ty_instead: (), }