rustdoc generates where
clauses that are not valid Rust
#28360
Labels
C-bug
Category: This is a bug.
T-dev-tools
Relevant to the dev-tools subteam, 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.
At the moment, the summary for the IntoIterator trait definition reads:
The 'where' clause on the first line isn't valid Rust, which is confusing. It should instead be rendered the way it appears in the code:
(On #rust @alexcrichton said, "that's probably all located in https://github.com/rust-lang/rust/blob/master/src/librustdoc/clean/simplify.rs")
The text was updated successfully, but these errors were encountered: