about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-16 09:31:29 +0000
committerbors <bors@rust-lang.org>2023-11-16 09:31:29 +0000
commit255d04cd9bb6bb51d4586a288facd01ee23cbcbf (patch)
tree10b32a10a95d0ae65b6316dfc7931e6ab8ca30fd /compiler/rustc_parse_format/src/lib.rs
parent012bd49b8a60f02d504774293d7a381dfe74d5f4 (diff)
parent13bfe141ff5bb92901eea3e88432cda75a208b9f (diff)
downloadrust-255d04cd9bb6bb51d4586a288facd01ee23cbcbf.tar.gz
rust-255d04cd9bb6bb51d4586a288facd01ee23cbcbf.zip
Auto merge of #3167 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'compiler/rustc_parse_format/src/lib.rs')
-rw-r--r--compiler/rustc_parse_format/src/lib.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/compiler/rustc_parse_format/src/lib.rs b/compiler/rustc_parse_format/src/lib.rs
index 7b6153eea09..e886db3da29 100644
--- a/compiler/rustc_parse_format/src/lib.rs
+++ b/compiler/rustc_parse_format/src/lib.rs
@@ -9,13 +9,10 @@
     html_playground_url = "https://play.rust-lang.org/",
     test(attr(deny(warnings)))
 )]
-#![cfg_attr(not(bootstrap), doc(rust_logo))]
-#![cfg_attr(not(bootstrap), allow(internal_features))]
-#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
 #![deny(rustc::untranslatable_diagnostic)]
 #![deny(rustc::diagnostic_outside_of_impl)]
-// We want to be able to build this crate with a stable compiler, so no
-// `#![feature]` attributes should be added.
+// WARNING: We want to be able to build this crate with a stable compiler,
+//          so no `#![feature]` attributes should be added!
 
 use rustc_lexer::unescape;
 pub use Alignment::*;