Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillot
Remove feature: `crate` visibility modifier FCP completed in #53120.
This commit is contained in:
@@ -2552,15 +2552,6 @@ impl PolyTraitRef {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Encodable, Decodable, Debug, HashStable_Generic)]
|
||||
pub enum CrateSugar {
|
||||
/// Source is `pub(crate)`.
|
||||
PubCrate,
|
||||
|
||||
/// Source is (just) `crate`.
|
||||
JustCrate,
|
||||
}
|
||||
|
||||
#[derive(Clone, Encodable, Decodable, Debug)]
|
||||
pub struct Visibility {
|
||||
pub kind: VisibilityKind,
|
||||
@@ -2571,7 +2562,6 @@ pub struct Visibility {
|
||||
#[derive(Clone, Encodable, Decodable, Debug)]
|
||||
pub enum VisibilityKind {
|
||||
Public,
|
||||
Crate(CrateSugar),
|
||||
Restricted { path: P<Path>, id: NodeId },
|
||||
Inherited,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user