summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_passes/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_passes/src/lib.rs')
-rw-r--r--compiler/rustc_passes/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_passes/src/lib.rs b/compiler/rustc_passes/src/lib.rs
index 51f3c9ad7..946a9e68d 100644
--- a/compiler/rustc_passes/src/lib.rs
+++ b/compiler/rustc_passes/src/lib.rs
@@ -6,6 +6,9 @@
#![allow(rustc::potential_query_instability)]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
+#![cfg_attr(not(bootstrap), doc(rust_logo))]
+#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
+#![cfg_attr(not(bootstrap), allow(internal_features))]
#![feature(iter_intersperse)]
#![feature(let_chains)]
#![feature(map_try_insert)]