summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/hidden-doc-associated-item.rs
blob: d431f9e899c025163e8f18f74257fc0fa2b79b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// check-pass
// See issue #85526.
// This test should produce no warnings.

#![deny(missing_docs)]
//! Crate docs

#[doc(hidden)]
pub struct Foo;

impl Foo {
    pub fn bar() {}
}

fn main() {}