mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
16 lines
195 B
Rust
16 lines
195 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() {}
|