rustdoc can't handle existential types #58624
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
This sample compiles just fine, but when you run it in rustdoc...
My personal guess is that the fact that rustdoc runs
everybody_loops
on the function that defines this type means that it no longer returns the actual type - instead it returns!
, though the compiler picks up()
for the error message.The text was updated successfully, but these errors were encountered: