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)
I've seen #34025, but in the following case
rustdocstill generates documentation forhidden()in theimpl Bar for Foo(but astymethodinstead ofmethod). It works correctly ifhidden()is also marked as hidden in the trait definition.rustc -V:rustc 1.13.0-nightly (e9bc1bac8 2016-08-24)