about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-10 05:14:09 +0200
committerGitHub <noreply@github.com>2019-07-10 05:14:09 +0200
commitfe26fc9a1cada15beb553adf0922286eb0bce274 (patch)
treee0a7ad7d7685c8175830ecf80845d0c6077e374d /src/test/ui/thinlto
parent1e48be948afabf176f9e913d8d829650320becc2 (diff)
parent4cb67c0f1c429a1a1e2ec8c3e02714557feeb60d (diff)
downloadrust-fe26fc9a1cada15beb553adf0922286eb0bce274.tar.gz
rust-fe26fc9a1cada15beb553adf0922286eb0bce274.zip
Rollup merge of #62393 - petrochenkov:notto-disu, r=Mark-Simulacrum
Fix pretty-printing of `$crate` (take 4)

Pretty-print `$crate` as `crate` or `crate_name` in unstructured tokens like `a $crate c` in `foo!(a $crate c)`, but only if those tokens are printed as a part of AST pretty-printing, rather than as a standalone token stream.

Fixes https://github.com/rust-lang/rust/issues/62325
Previous iterations - https://github.com/rust-lang/rust/pull/56647, https://github.com/rust-lang/rust/pull/57155, https://github.com/rust-lang/rust/pull/57915.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions