about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-22 11:51:25 +0000
committerbors <bors@rust-lang.org>2022-05-22 11:51:25 +0000
commit4bb4dc4672b4d80509db4c0572ae8ceeaf7d4a1c (patch)
tree5003fdc08fff12e544b5ed20d3e99fc7675ce9e9 /compiler/rustc_codegen_gcc
parent653463731a7f01f519cf85f444869def27f00395 (diff)
parent09b4c7c89d6b815ad3032286a6ff380ecab95e33 (diff)
downloadrust-4bb4dc4672b4d80509db4c0572ae8ceeaf7d4a1c.tar.gz
rust-4bb4dc4672b4d80509db4c0572ae8ceeaf7d4a1c.zip
Auto merge of #97251 - petrochenkov:eqtokens, r=nnethercote
rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast

In the past falling back to reparsing pretty-printed strings was common, so some of this logic had to live in `rustc_parse`, but now the reparsing fallback is only used in two corner cases so we can move this logic to `rustc_ast` which makes many things simpler.

It also helps to fix `MacArgs::inner_tokens` for `MacArgs::Eq` with non-literal expressions, which is done in the second commit.
r? `@nnethercote`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions