-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Methods are not shown for pub type that is imported from other crate #103004
Copy link
Copy link
Open
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateC-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.S-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.Status: This issue has no reproduction and needs a reproduction to make progress.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateC-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.S-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.Status: This issue has no reproduction and needs a reproduction to make progress.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Location
I searched for
FatalErrorin the rustc docs: https://doc.rust-lang.org/nightly/nightly-rustc/?search=fatalerrorThe first two results are the interesting ones:
rustc_errors::FatalErrorandrustc_span::fatal_error::FatalErrorWhen opening the

rustc_span::fatal_error::FatalErrorpage, the associated methodraiseis shown:When opening the

rustc_errors::FatalError, the method won't show up:This looks like a bug to me, because you can call the public method through the public export, so that method should either be documented or a page forward should happen to the original struct.