diff options
| author | bors <bors@rust-lang.org> | 2019-08-29 01:22:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-08-29 01:22:11 +0000 |
| commit | 347654324dde17135072d2d704a71209dd3c5ca3 (patch) | |
| tree | bfeb815ae52b06b3fadd832ff4e1fac0bb27b649 /src/libsyntax/parse/parser | |
| parent | 0414dfa0aa072b6e1153ae60f94de852c07bb803 (diff) | |
| parent | 4c3e386bd7ee9020407cee4ba120eebfb6373549 (diff) | |
| download | rust-347654324dde17135072d2d704a71209dd3c5ca3.tar.gz rust-347654324dde17135072d2d704a71209dd3c5ca3.zip | |
Auto merge of #62855 - Aaron1011:feature/rustdoc-reexport-final, r=petrochenkov
Improve Rustdoc's handling of procedural macros Fixes #58700 Fixes #58696 Fixes #49553 Fixes #52210 This commit removes the special rustdoc handling for proc macros, as we can now retrieve their span and attributes just like any other item. A new command-line option is added to rustdoc: `--crate-type`. This takes the same options as rustc's `--crate-type` option. However, all values other than `proc-macro` are treated the same. This allows Rustdoc to enable 'proc macro mode' when handling a proc macro crate. In compiletest, a new 'rustdoc-flags' option is added. This allows us to pass in the '--proc-macro-crate' flag in the absence of Cargo. I've opened [an additional PR to Cargo](https://github.com/rust-lang/cargo/pull/7159) to support passing in this flag. These two PRS can be merged in any order - the Cargo changes will not take effect until the 'cargo' submodule is updated in this repository.
Diffstat (limited to 'src/libsyntax/parse/parser')
0 files changed, 0 insertions, 0 deletions
