-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.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.
Description
I've seen #34025, but in the following case rustdoc
still generates documentation for hidden()
in the impl Bar for Foo
(but as tymethod
instead of method
). It works correctly if hidden()
is also marked as hidden in the trait definition.
pub struct Foo;
pub trait Bar {
fn test();
fn hidden();
}
impl Bar for Foo {
fn test() {}
#[doc(hidden)] fn hidden() {}
}
rustc -V
:
rustc 1.13.0-nightly (e9bc1bac8 2016-08-24)
Metadata
Metadata
Assignees
Labels
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.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.