diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-03-12 12:48:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-12 12:48:49 -0400 |
| commit | c085be5f11f49d7c898533e00ab0e99eeccfd5bb (patch) | |
| tree | 20ed3cb4ac11939a09153bcf82999b05c6e842b8 | |
| parent | 36632f345d22825af491315a2d5d7b2d645a9c3f (diff) | |
| parent | 74ccbec3ac80f5fe24a75403c90516b2a999aef6 (diff) | |
| download | rust-c085be5f11f49d7c898533e00ab0e99eeccfd5bb.tar.gz rust-c085be5f11f49d7c898533e00ab0e99eeccfd5bb.zip | |
Rollup merge of #40449 - ollie27:docs_proc_macro, r=alexcrichton
Add doc attributes to proc_macro crate This adds the same logo and favicon as the rest of the std docs.
| -rw-r--r-- | src/libproc_macro/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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)] |
