about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/lib.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-10-16 15:22:17 -0700
committerMichael Howell <michael@notriddle.com>2023-10-16 15:38:08 -0700
commit2ff2624722a8e0022ba0783d5870456df379ed94 (patch)
tree856e291486ec75749498818f200948686a39f927 /compiler/rustc_feature/src/lib.rs
parent4af886f8ab94543caad689ee6bf6a93fa8bd4a98 (diff)
downloadrust-2ff2624722a8e0022ba0783d5870456df379ed94.tar.gz
rust-2ff2624722a8e0022ba0783d5870456df379ed94.zip
docs: add Rust logo to more compiler crates
c6e6ecb1afea9695a42d0f148ce153536b279eb5 added it to some of the
compiler's crates, but avoided adding it to all of them to reduce
bit-rot. This commit adds to more.
Diffstat (limited to 'compiler/rustc_feature/src/lib.rs')
-rw-r--r--compiler/rustc_feature/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs
index 9f23ec662b9..070234df94c 100644
--- a/compiler/rustc_feature/src/lib.rs
+++ b/compiler/rustc_feature/src/lib.rs
@@ -11,6 +11,9 @@
 //! even if it is stabilized or removed, *do not remove it*. Instead, move the
 //! symbol to the `accepted` or `removed` modules respectively.
 
+#![cfg_attr(not(bootstrap), allow(internal_features))]
+#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
+#![cfg_attr(not(bootstrap), doc(rust_logo))]
 #![feature(lazy_cell)]
 #![deny(rustc::untranslatable_diagnostic)]
 #![deny(rustc::diagnostic_outside_of_impl)]