diff options
| author | bors <bors@rust-lang.org> | 2018-12-28 02:54:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-28 02:54:14 +0000 |
| commit | e8ca35e63dda82a8b5fa8eb72cf3e490a5794a46 (patch) | |
| tree | 190e1b7ce725d1fdfaf44e49c34a9465d558ac0a /src/liballoc | |
| parent | f8caa321c7c7214a6c5415e4b3694e65b4ff73a7 (diff) | |
| parent | e40d7d9643b810b2bc62f279e1d6f4ad68a35bc2 (diff) | |
| download | rust-e8ca35e63dda82a8b5fa8eb72cf3e490a5794a46.tar.gz rust-e8ca35e63dda82a8b5fa8eb72cf3e490a5794a46.zip | |
Auto merge of #57155 - petrochenkov:dcrate3, r=dtolnay
Resolve `$crate`s for pretty-printing at more appropriate time Doing it in `BuildReducedGraphVisitor` wasn't a good idea, identifiers wasn't actually visited half of the time. As a result some `$crate`s weren't resolved and were therefore pretty-printed as `$crate` literally, which turns into two tokens during re-parsing of the pretty-printed text. Now we are visiting and resolving `$crate` identifiers in an item right before sending that item to a proc macro attribute or derive. Fixes https://github.com/rust-lang/rust/issues/57089
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions
