Closed
Description
Since beta 1.69.0 (and also in nightly), the rustdoc output has an empty opaque type listed. Take this code:
fn main() {}
async fn foo() {}
Then save it as main.rs
and do:
rustdoc +beta main.rs --crate-type bin --edition=2021 --document-private-items
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 then cargo +beta doc
. The option to document private items is important.
@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged +T-rustdoc
Metadata
Metadata
Assignees
Labels
Area: Async & AwaitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Async-await issues that have been triaged during a working group meeting.Category: This is a bug.Relevant to the rustdoc team, which will review and decide on the PR/issue.Performance or correctness regression from stable to beta.