diff options
Diffstat (limited to 'src/test/rustdoc/strip-enum-variant.rs')
-rw-r--r-- | src/test/rustdoc/strip-enum-variant.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/rustdoc/strip-enum-variant.rs b/src/test/rustdoc/strip-enum-variant.rs deleted file mode 100644 index 8753a7dc6..000000000 --- a/src/test/rustdoc/strip-enum-variant.rs +++ /dev/null @@ -1,11 +0,0 @@ -// @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"][1]' -pub enum MyThing { - Shown, - #[doc(hidden)] - NotShown, -} |