diff --git a/src/lib.rs b/src/lib.rs index 9c18fc4a0dc..6aa5b6bd1ff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,8 @@ * TODO(antoyo): remove the patches. */ +#![cfg_attr(not(bootstrap), doc(rust_logo))] +#![cfg_attr(not(bootstrap), feature(rustdoc_internals))] #![feature( rustc_private, decl_macro,