Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4f372b1

Browse files
committedMay 21, 2022
Auto merge of #97239 - jhpratt:remove-crate-vis, r=joshtriplett
Remove `crate` visibility modifier FCP to remove this syntax is just about complete in #53120. Once it completes, this should be merged ASAP to avoid merge conflicts. The first two commits remove usage of the feature in this repository, while the last removes the feature itself.
2 parents 3b64fe9 + 6970246 commit 4f372b1

File tree

271 files changed

+1902
-2052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+1902
-2052
lines changed
 

‎compiler/rustc_ast/src/attr/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ pub fn mk_nested_word_item(ident: Ident) -> NestedMetaItem {
340340
NestedMetaItem::MetaItem(mk_word_item(ident))
341341
}
342342

343-
crate fn mk_attr_id() -> AttrId {
343+
pub(crate) fn mk_attr_id() -> AttrId {
344344
use std::sync::atomic::AtomicU32;
345345
use std::sync::atomic::Ordering;
346346

‎compiler/rustc_ast/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#![feature(box_patterns)]
1313
#![feature(const_default_impls)]
1414
#![feature(const_trait_impl)]
15-
#![feature(crate_visibility_modifier)]
1615
#![feature(if_let_guard)]
1716
#![feature(label_break_value)]
1817
#![feature(let_chains)]

0 commit comments

Comments
 (0)