-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: "Methods from Deref" appears inconsistently #91400
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
jyn514
added
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
labels
Nov 30, 2021
I thought originally this was related to |
Relevant code: rust/src/librustdoc/html/render/mod.rs Lines 1035 to 1076 in 207c80f
|
This is surprising. I'll take a look tomorrow. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Rustdoc generates a "Methods from Deref" section, the way it does if the struct derefs to Path:
Instead, this happened: Rustdoc doesn't generate the section:
Meta
rustdoc --version
: rustdoc 1.58.0-nightly (936f260 2021-11-22)cc @GuillaumeGomez
The text was updated successfully, but these errors were encountered: