2024-06-21 07:03:08 -05:00
|
|
|
//@ has strip_enum_variant/enum.MyThing.html
|
|
|
|
//@ has - '//code' 'Shown'
|
|
|
|
//@ !has - '//code' 'NotShown'
|
|
|
|
//@ has - '//code' '// some variants omitted'
|
2022-04-27 11:05:54 -05:00
|
|
|
// Also check that `NotShown` isn't displayed in the sidebar.
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ snapshot no-not-shown - '//*[@class="sidebar-elems"]/section/*[@class="block variant"]'
|
2022-02-17 15:25:43 -06:00
|
|
|
pub enum MyThing {
|
|
|
|
Shown,
|
|
|
|
#[doc(hidden)]
|
|
|
|
NotShown,
|
|
|
|
}
|