diff options
| author | Michael Howell <michael@notriddle.com> | 2023-09-19 16:28:18 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-10-08 20:17:53 -0700 |
| commit | c6e6ecb1afea9695a42d0f148ce153536b279eb5 (patch) | |
| tree | db64d127a8ba8ef6d610f3e4f0bec539a5e6a0ef /compiler/rustc_parse_format/src/lib.rs | |
| parent | 6d6fa792fffa6e22eec1b30cedee6e8306d0df64 (diff) | |
| download | rust-c6e6ecb1afea9695a42d0f148ce153536b279eb5.tar.gz rust-c6e6ecb1afea9695a42d0f148ce153536b279eb5.zip | |
rustdoc: remove rust logo from non-Rust crates
Diffstat (limited to 'compiler/rustc_parse_format/src/lib.rs')
| -rw-r--r-- | compiler/rustc_parse_format/src/lib.rs | 3 |
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 |
