mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
14 lines
291 B
Rust
14 lines
291 B
Rust
// https://github.com/rust-lang/rust/issues/108925
|
|
#![crate_name="foo"]
|
|
|
|
//@ has foo/enum.MyThing.html
|
|
//@ has - '//code' 'Shown'
|
|
//@ !has - '//code' 'NotShown'
|
|
//@ !has - '//code' '// some variants omitted'
|
|
#[non_exhaustive]
|
|
pub enum MyThing {
|
|
Shown,
|
|
#[doc(hidden)]
|
|
NotShown,
|
|
}
|