rustdoc incorrectly prints APIT in `AliasTy::new`
Open
@fmease is already working on this.
Since Mar 17, 2025.
A-cross-crate-reexports
C-bug
F-associated_type_bounds
S-has-mcve
T-rustdoc
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.