3 // Here we check that a `:vis` macro matcher subsititued for the empty visibility
4 // (`VisibilityKind::Inherited`) is accepted when used before an enum variant.
8 macro_rules! mac_variant {
15 $vis Struct { f: u8 },
22 // We also accept visibilities on variants syntactically but not semantically.
27 pub(super) T { f: String }