rust/src/libsyntax/ext
Mazdak Farrokhzad 3fe8b4c043
Rollup merge of #57915 - petrochenkov:notto-disu, r=zackmdavis
Pretty print `$crate` as `crate` or `crate_name` in more cases

So, people do parse output of `--pretty=expanded` (sigh), so covering only the legacy proc-macro case (like it was done in https://github.com/rust-lang/rust/pull/57155) is not enough.

This PRs resolves all `$crate`s produced by macros, so they are all printed in the parseable form `$crate::foo` -> `crate::foo` or `crate_name::foo`.

Fixes https://github.com/rust-lang/rust/issues/38016#issuecomment-455851334
Fixes https://github.com/rust-lang/rust/pull/57155#issuecomment-455807195
2019-01-28 22:25:48 +01:00
..
tt remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
base.rs Pretty print $crate as crate or crate_name in more cases 2019-01-26 17:11:28 +03:00
build.rs Get rid of Block::recovered 2018-12-27 15:51:36 +03:00
derive.rs Implement basic input validation for built-in attributes 2019-01-13 14:17:19 +03:00
expand.rs Rollup merge of #57915 - petrochenkov:notto-disu, r=zackmdavis 2019-01-28 22:25:48 +01:00
placeholders.rs Remove licenses 2018-12-25 21:08:33 -07:00
source_util.rs Improve error recovery for some built-in macros 2018-12-30 01:43:35 +03:00