I tried [this code](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=fbce6f3fc24a28d741173d074e9d5e3b): ```rust #![warn(missing_docs)] //! Crate docs #[doc(hidden)] pub struct Foo; impl Foo { pub fn bar() {} } ``` I expected to see this happen: no warnings, `Foo` and its method are not publicly documented. Instead, this happened: ``` warning: missing documentation for an associated function --> src/lib.rs:9:5 | 9 | pub fn bar() {} | ^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:1:9 | 1 | #![warn(missing_docs)] | ^^^^^^^^^^^^ warning: 1 warning emitted ``` <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"pierwill"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->