Skip to content

Commit b3686c2

Browse files
notriddlefmease
andcommitted
Add note about lazy_type_alias
Co-authored-by: León Orell Valerian Liehr <[email protected]>
1 parent 20768b2 commit b3686c2

File tree

1 file changed

+2
-2
lines changed
  • src/librustdoc/html/render

1 file changed

+2
-2
lines changed

src/librustdoc/html/render/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,8 @@ fn render_assoc_items_inner(
11531153
// don't normally constrain on them anyway.
11541154
// https://github.com/rust-lang/rust/issues/21903
11551155
//
1156-
// If that changes, then this will need to check them with type
1157-
// unification.
1156+
// FIXME(lazy_type_alias): Once the feature is complete or stable, rewrite this to use type unification.
1157+
// Be aware of `tests/rustdoc/issue-112515-impl-ty-alias.rs` which might regress.
11581158
let aliased_ty = tcx.type_of(alias_def_id).skip_binder();
11591159
let reject_cx = DeepRejectCtxt {
11601160
treat_obligation_params: TreatParams::AsCandidateKey,

0 commit comments

Comments
 (0)