diff options
Diffstat (limited to 'tests/rustdoc/issue-108925.rs')
-rw-r--r-- | tests/rustdoc/issue-108925.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-108925.rs b/tests/rustdoc/issue-108925.rs new file mode 100644 index 000000000..9c36d0d71 --- /dev/null +++ b/tests/rustdoc/issue-108925.rs @@ -0,0 +1,10 @@ +// @has issue_108925/enum.MyThing.html +// @has - '//code' 'Shown' +// @!has - '//code' 'NotShown' +// @!has - '//code' '// some variants omitted' +#[non_exhaustive] +pub enum MyThing { + Shown, + #[doc(hidden)] + NotShown, +} |