We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18373fa commit b41a483Copy full SHA for b41a483
1 file changed
compiler/rustc_middle/src/ty/sty.rs
@@ -1164,7 +1164,7 @@ pub struct AliasTy<'tcx> {
1164
pub def_id: DefId,
1165
1166
/// This field exists to prevent the creation of `ProjectionTy` without using
1167
- /// [TyCtxt::mk_projection_ty].
+ /// [TyCtxt::mk_alias_ty].
1168
pub(super) _use_mk_alias_ty_instead: (),
1169
}
1170
0 commit comments