blob: 9874588ef59f8b35647ca5a1490c7d74169ab73a [file] [log] [blame] [edit]
//@ has strip_enum_variant/enum.MyThing.html
//@ has - '//code' 'Shown'
//@ !has - '//code' 'NotShown'
//@ has - '//code' '// some variants omitted'
// Also check that `NotShown` isn't displayed in the sidebar.
//@ snapshot no-not-shown - '//*[@class="sidebar-elems"]/section/*[@class="block variant"]'
pub enum MyThing {
Shown,
#[doc(hidden)]
NotShown,
}