Skip to content

Commit c085be5

Browse files
authored
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.
2 parents 36632f3 + 74ccbec commit c085be5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/libproc_macro/lib.rs

+7
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
#![crate_type = "dylib"]
3030
#![deny(warnings)]
3131
#![deny(missing_docs)]
32+
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
33+
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
34+
html_root_url = "https://doc.rust-lang.org/nightly/",
35+
html_playground_url = "https://play.rust-lang.org/",
36+
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
37+
test(no_crate_inject, attr(deny(warnings))),
38+
test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))))]
3239

3340
#![feature(rustc_private)]
3441
#![feature(staged_api)]

0 commit comments

Comments
 (0)