rust/tests/rustdoc/doc-hidden-private-67851-both.rs

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

11 lines
273 B
Rust
Raw Normal View History

//@ compile-flags: -Zunstable-options --document-private-items --document-hidden-items
2024-04-06 16:41:09 -05:00
// https://github.com/rust-lang/rust/issues/67851
#![crate_name="foo"]
//@ has foo/struct.Hidden.html
#[doc(hidden)]
pub struct Hidden;
//@ has foo/struct.Private.html
struct Private;