rust/compiler/rustc_interface
Yuki Okushi 61305d5ab4
Rollup merge of #78610 - petrochenkov:nostriptok, r=Aaron1011
Do not remove tokens before AST json serialization

`TokenStripper` is error-prone and introduces one more use of `MutVisitor`.
It's much simpler to treat serialization as just one more place that wants lazy token stream to turn into a real token stream.
Also, no code is better than more code, in general.
r? @Aaron1011

(I also merged tests for `TokenStripper` ICEs into one.)
2020-11-02 14:14:34 +09:00
..
src Rollup merge of #78610 - petrochenkov:nostriptok, r=Aaron1011 2020-11-02 14:14:34 +09:00
Cargo.toml interface: use OnceCell from standard library 2020-09-01 22:06:39 +01:00