blob: ea2462449d2b7578f3732d42581020877483b983 [file] [log] [blame] [edit]
// 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,
}