diff options
| author | bors <bors@rust-lang.org> | 2023-10-17 04:41:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-17 04:41:20 +0000 |
| commit | 631a116cd3b326096340691e60bf74e9868289a6 (patch) | |
| tree | 59d1e8cd0ec07b853d164a2baa40cc0c7a01140d /compiler/rustc_error_codes/src | |
| parent | c07693c1608258f3577eb15057fc0744fa924ae9 (diff) | |
| parent | 2ff2624722a8e0022ba0783d5870456df379ed94 (diff) | |
| download | rust-631a116cd3b326096340691e60bf74e9868289a6.tar.gz rust-631a116cd3b326096340691e60bf74e9868289a6.zip | |
Auto merge of #116822 - notriddle:notriddle/rust-logo, r=fmease
docs: add Rust logo to more compiler crates c6e6ecb1afea9695a42d0f148ce153536b279eb5 added it to some of the compiler's crates, but avoided adding it to all of them to reduce bit-rot. This commit adds to more. r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_error_codes/src/lib.rs b/compiler/rustc_error_codes/src/lib.rs index d6b120e4dfc..81ad661286e 100644 --- a/compiler/rustc_error_codes/src/lib.rs +++ b/compiler/rustc_error_codes/src/lib.rs @@ -1,3 +1,6 @@ +#![cfg_attr(not(bootstrap), allow(internal_features))] +#![cfg_attr(not(bootstrap), feature(rustdoc_internals))] +#![cfg_attr(not(bootstrap), doc(rust_logo))] #![deny(rustdoc::invalid_codeblock_attributes)] #![deny(rustc::untranslatable_diagnostic)] #![deny(rustc::diagnostic_outside_of_impl)] |
