rust/tests/ui/rustdoc/hidden-doc-associated-item.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
196 B
Rust
Raw Permalink Normal View History

//@ 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() {}