about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src/lib.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-10-12 08:33:06 +0200
committerRalf Jung <post@ralfj.de>2023-10-12 08:33:06 +0200
commit461d19bde54697e493e643d4800ab2763d0325b8 (patch)
treebe7caab799b9988083d208fa44fd86926c3a5eec /compiler/rustc_parse_format/src/lib.rs
parente3c2b66708b870798b72178093d987251aeb28f9 (diff)
parent16f8396f6df6902eeef580396785ab8888c3718b (diff)
Merge from rustc
Diffstat (limited to 'compiler/rustc_parse_format/src/lib.rs')
-rw-r--r--compiler/rustc_parse_format/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_parse_format/src/lib.rs b/compiler/rustc_parse_format/src/lib.rs
index 90ac436a91f..7b6153eea09 100644
--- a/compiler/rustc_parse_format/src/lib.rs
+++ b/compiler/rustc_parse_format/src/lib.rs
@@ -9,6 +9,9 @@
     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