From: Oliver Middleton Date: Sun, 12 Mar 2017 02:54:43 +0000 (+0000) Subject: Add doc attributes to proc_macro crate X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=74ccbec3ac80f5fe24a75403c90516b2a999aef6;p=rust.git Add doc attributes to proc_macro crate This adds the same logo and favicon as the rest of the std docs. --- diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 0d2a467b577..0ab0550469b 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -29,6 +29,13 @@ #![crate_type = "dylib"] #![deny(warnings)] #![deny(missing_docs)] +#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "https://doc.rust-lang.org/favicon.ico", + html_root_url = "https://doc.rust-lang.org/nightly/", + html_playground_url = "https://play.rust-lang.org/", + issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/", + test(no_crate_inject, attr(deny(warnings))), + test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))))] #![feature(rustc_private)] #![feature(staged_api)]