Closed
Description
Take, for example, TotalEq
:
pub trait TotalEq: Eq {
// FIXME #13101: this method is used solely by #[deriving] to
// assert that every component of a type implements #[deriving]
// itself, the current deriving infrastructure means doing this
// assertion without using a method on this trait is nearly
// impossible.
//
// This should never be implemented by hand.
#[doc(hidden)]
#[inline(always)]
fn assert_receiver_is_total_eq(&self) {}
}
As is proper, the TotalEq
docs make no mention of this hidden method assert_receiver_is_total_eq
.
But now refer to an example like the TotalEq
impl for Option
! Lo! assert_receiver_is_total_eq
is shown there.
It shouldn't be.
Activity
Honor hidden doc attribute of derivable trait methods
mahkoh commentedon Mar 5, 2015
This is broken again.
mitsuhiko commentedon Apr 4, 2015
Still happens, example down here: http://mitsuhiko.github.io/redis-rs/redis/enum.ErrorKind.html
SimonSapin commentedon May 29, 2018
It looks like this is happening again in #51147 (comment).
20 remaining items