Rustdoc lists empty opaque type for async fn #109931
Labels
A-async-await
Area: Async & Await
A-impl-trait
Area: impl Trait. Universally / existentially quantified anonymous types with static dispatch.
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-bug
Category: This is a bug.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Milestone
Since beta 1.69.0 (and also in nightly), the rustdoc output has an empty opaque type listed. Take this code:
Then save it as
main.rs
and do:There will be an empty opaque type listed, which is not clickable like the other things (probably due to being empty):
If you navigate to the
opaque..html
file manually, you get this:It also reproduces on current nightly as of filing this bug. And also for
cargo init --bin
followed by adding an async function and thencargo +beta doc
. The option to document private items is important.@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged +T-rustdoc
The text was updated successfully, but these errors were encountered: