rust/src/librustc_span
bors 1581278534 Auto merge of #66364 - Centril:cleanup-macro-def, r=petrochenkov,eddyb
Cleanup `rmeta::MacroDef`

Avoid using rountrip parsing in the encoder and in `fn load_macro_untracked`.

The main reason I was interested in this was to remove `rustc_parse` as a dependency of `rustc_metadata` but it seems like this had other benefits as well.

Fixes #49511.

r? @eddyb
cc @matthewjasper @estebank @petrochenkov
2020-03-10 17:12:48 +00:00
..
analyze_source_file Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
source_map Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
symbol Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
analyze_source_file.rs Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
caching_source_map_view.rs Rename CodeMap to SourceMap follow up 2020-02-22 16:17:31 +02:00
Cargo.toml Make things build again 2019-12-30 19:18:16 +03:00
def_id.rs Don't redundantly repeat field names (clippy::redundant_field_names) 2020-03-06 19:42:18 +01:00
edition.rs Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
fatal_error.rs Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
hygiene.rs rustc_span: move pretty syntax from macro_backtrace to ExpnKind::descr. 2020-01-26 17:18:55 +02:00
lib.rs Store TokenStream in rmeta::MacroDef. 2020-03-10 07:26:27 +01:00
source_map.rs Store TokenStream in rmeta::MacroDef. 2020-03-10 07:26:27 +01:00
span_encoding.rs Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00
symbol.rs Rollup merge of #69514 - GuillaumeGomez:remove-spotlight, r=kinnison 2020-03-10 06:47:47 +01:00
tests.rs Rename directories for some crates from syntax_x to rustc_x 2019-12-30 19:18:16 +03:00