rust/tests/ui/rustdoc/hidden-doc-associated-item.rs
2024-02-16 20:02:50 +00:00

16 lines
196 B
Rust

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