about summary refs log tree commit diff
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
commit8c3eda36df7aa23d857a5cc4337eb53a5a922219 (patch)
tree914678538f1c9403e10ba3ef2cd24b4bac044e13
parent3c0d3f2bf1a830a23e117382a094e6d13f41e58b (diff)
downloadrust-8c3eda36df7aa23d857a5cc4337eb53a5a922219.tar.gz
rust-8c3eda36df7aa23d857a5cc4337eb53a5a922219.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.
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 522fe7e425b..8992de5a923 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,6 @@
+#![cfg_attr(not(bootstrap), allow(internal_features))]
+#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
+#![cfg_attr(not(bootstrap), doc(rust_logo))]
 #![feature(rustc_private)]
 // Note: please avoid adding other feature gates where possible
 #![warn(rust_2018_idioms)]