Skip to content

Commit

Permalink
Add note about lazy_type_alias
Browse files Browse the repository at this point in the history
Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
  • Loading branch information
notriddle and fmease committed Aug 26, 2023
1 parent 20768b2 commit b3686c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1153,8 +1153,8 @@ fn render_assoc_items_inner(
// don't normally constrain on them anyway.
// https://github.com/rust-lang/rust/issues/21903
//
// If that changes, then this will need to check them with type
// unification.
// FIXME(lazy_type_alias): Once the feature is complete or stable, rewrite this to use type unification.
// Be aware of `tests/rustdoc/issue-112515-impl-ty-alias.rs` which might regress.
let aliased_ty = tcx.type_of(alias_def_id).skip_binder();
let reject_cx = DeepRejectCtxt {
treat_obligation_params: TreatParams::AsCandidateKey,
Expand Down

0 comments on commit b3686c2

Please sign in to comment.