Un-feature gate struct variants
Struct variant field visibility is now inherited. Remove `pub` keywords from declarations. Closes #18641 [breaking-change]
This commit is contained in:
@@ -1292,8 +1292,8 @@ pub type Variant = Spanned<Variant_>;
|
||||
|
||||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
pub enum PathListItem_ {
|
||||
PathListIdent { pub name: Ident, pub id: NodeId },
|
||||
PathListMod { pub id: NodeId }
|
||||
PathListIdent { name: Ident, id: NodeId },
|
||||
PathListMod { id: NodeId }
|
||||
}
|
||||
|
||||
impl PathListItem_ {
|
||||
|
||||
Reference in New Issue
Block a user