diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-28 22:25:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-28 22:25:48 +0100 |
| commit | 3fe8b4c043065fccb551bf968168097798769b72 (patch) | |
| tree | f91a8ff95c2cd51e7d257ea2a2312c0153c04984 /src/rustllvm/PassWrapper.cpp | |
| parent | d3bb907eff4e1c59667ee0fccbc21a08d023bd74 (diff) | |
| parent | c375333362bd1b5f006f6d627ff129c2c54d620c (diff) | |
| download | rust-3fe8b4c043065fccb551bf968168097798769b72.tar.gz rust-3fe8b4c043065fccb551bf968168097798769b72.zip | |
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
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
