about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-05-23 07:43:50 +0200
committerGitHub <noreply@github.com>2022-05-23 07:43:50 +0200
commitb73f1c77a7006d2e6ddebeb1d8adb33720bb33fb (patch)
treebe1b5820fe109f83774ccf49f1a70c347998c26e /src/doc
parente5cf3cb97d228f7c5ac691ebf3f754bec5a92852 (diff)
parent7b987e34c083c81a9e70cb1d387759ac98c752c0 (diff)
downloadrust-b73f1c77a7006d2e6ddebeb1d8adb33720bb33fb.tar.gz
rust-b73f1c77a7006d2e6ddebeb1d8adb33720bb33fb.zip
Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillot
Remove feature: `crate` visibility modifier

FCP completed in #53120.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/language-features/crate-visibility-modifier.md20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/doc/unstable-book/src/language-features/crate-visibility-modifier.md b/src/doc/unstable-book/src/language-features/crate-visibility-modifier.md
deleted file mode 100644
index b59859dd348..00000000000
--- a/src/doc/unstable-book/src/language-features/crate-visibility-modifier.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# `crate_visibility_modifier`
-
-The tracking issue for this feature is: [#53120]
-
-[#53120]: https://github.com/rust-lang/rust/issues/53120
-
------
-
-The `crate_visibility_modifier` feature allows the `crate` keyword to be used
-as a visibility modifier synonymous to `pub(crate)`, indicating that a type
-(function, _&c._) is to be visible to the entire enclosing crate, but not to
-other crates.
-
-```rust
-#![feature(crate_visibility_modifier)]
-
-crate struct Foo {
-    bar: usize,
-}
-```