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