]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/strip-enum-variant.rs
Rollup merge of #93755 - ChayimFriedman2:allow-comparing-vecs-with-different-allocato...
[rust.git] / src / test / rustdoc / strip-enum-variant.rs
1 // @has strip_enum_variant/enum.MyThing.html
2 // @has - '//code' 'Shown'
3 // @!has - '//code' 'NotShown'
4 // @has - '//code' '// some variants omitted'
5 pub enum MyThing {
6     Shown,
7     #[doc(hidden)]
8     NotShown,
9 }