Revert "Add note about lazy_type_alias"

This reverts commit b3686c2fd6.
This commit is contained in:
Michael Howell 2023-10-05 18:44:46 -07:00
parent 36b8d58b41
commit 77da7c655e

View File

@ -1168,8 +1168,8 @@ fn render_assoc_items_inner(
// don't normally constrain on them anyway.
// https://github.com/rust-lang/rust/issues/21903
//
// 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.
// If that changes, then this will need to check them with type
// unification.
let aliased_ty = tcx.type_of(alias_def_id).skip_binder();
let reject_cx = DeepRejectCtxt {
treat_obligation_params: TreatParams::AsCandidateKey,