rust/src/librustdoc
kennytm 98606cfe12
Rollup merge of #51011 - QuietMisdreavus:duplicitous-macros, r=ollie27
rustdoc: hide macro export statements from docs

As mentioned in https://github.com/rust-lang/rust/issues/50647, rustdoc now prints both the import statement and the macro itself when re-exporting macros. This is a stopgap solution to clean up the std docs and get something small backported into beta.

What this does: When rustdoc finds an export statement for a macro, instead of printing the export and bailing, now it will instead hide the export and bail. Until we can solve https://github.com/rust-lang/rust/issues/34843 or have a better way to find the attributes on an export statement when inlining macros, this will at least match the current behavior and clean up the re-export statements from the docs.
2018-05-24 17:34:55 +08:00
..
clean Rollup merge of #51011 - QuietMisdreavus:duplicitous-macros, r=ollie27 2018-05-24 17:34:55 +08:00
html Rollup merge of #50947 - QuietMisdreavus:nice-tabs, r=GuillaumeGomez 2018-05-23 00:26:19 +08:00
passes Add a Rayon thread pool 2018-05-13 01:28:20 +02:00
Cargo.toml Add minification process 2018-05-12 19:15:06 +02:00
README.md Move librustdoc readme to rustc guide 2018-03-12 20:09:50 -05:00
core.rs Stabilize suggestion applicability field in json output 2018-05-21 10:48:12 -07:00
doctree.rs rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
externalfiles.rs replace error/warning println with structured diag 2018-05-14 11:03:22 -05:00
fold.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
lib.rs Auto merge of #50629 - Mark-Simulacrum:stage-step, r=alexcrichton 2018-05-17 16:44:38 +00:00
markdown.rs replace error/warning println with structured diag 2018-05-14 11:03:22 -05:00
plugins.rs rustc_back: move dynamic_lib to rustc_metadata. 2017-12-04 18:25:29 +02:00
test.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
theme.rs replace error/warning println with structured diag 2018-05-14 11:03:22 -05:00
visit_ast.rs rustdoc: hide macro export statements from docs 2018-05-23 16:22:18 -05:00
visit_lib.rs cleanup 2018-01-22 15:24:27 +05:30

README.md

For more information about how librustdoc works, see the rustc guide.