summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_attr/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_attr/src/lib.rs')
-rw-r--r--compiler/rustc_attr/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_attr/src/lib.rs b/compiler/rustc_attr/src/lib.rs
index cfed2acfb..868c04122 100644
--- a/compiler/rustc_attr/src/lib.rs
+++ b/compiler/rustc_attr/src/lib.rs
@@ -4,6 +4,9 @@
//! The goal is to move the definition of `MetaItem` and things that don't need to be in `syntax`
//! to this crate.
+#![cfg_attr(not(bootstrap), allow(internal_features))]
+#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
+#![cfg_attr(not(bootstrap), doc(rust_logo))]
#![feature(let_chains)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
@@ -24,6 +27,6 @@ pub use StabilityLevel::*;
pub use rustc_ast::attr::*;
-pub(crate) use rustc_ast::HashStableContext;
+pub(crate) use rustc_session::HashStableContext;
fluent_messages! { "../messages.ftl" }