Skip to content

rustdoc incorrectly prints APIT in AliasTy::new #138604

Open
@lcnr

Description

@lcnr

https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/type.AliasTy.html#method.new

currently prints the method signature as

pub fn new(
    interner: I,
    def_id: <I as Interner>::DefId,
    args: impl IntoIterator>,
) -> AliasTy<I>
where
    <impl IntoIterator as IntoIterator>::Item: Into<<I as Interner>::GenericArg>,

I cannot reproduce this outside of the nightly compiler docs.

Image

Metadata

Metadata

Assignees

Labels

A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateC-bugCategory: This is a bug.F-associated_type_bounds`#![feature(associated_type_bounds)]`S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions