rust/crates/hir-expand
bors 6f313cef8e Auto merge of #13548 - lowr:fix/tt-punct-spacing, r=Veykril
Fix `tt::Punct`'s spacing calculation

Fixes #13499

We currently set a `tt::Punct`'s spacing to `Spacing::Joint` unless its next token is a trivia (i.e. whitespaces or comment). As I understand it, rustc only [sets `Spacing::Joint` if the next token is an operator](5b3e909075/compiler/rustc_parse/src/lexer/tokentrees.rs (L77-L78)) and we should follow it to guarantee the consistent behavior of proc macros.
2022-11-11 12:19:30 +00:00
..
src Auto merge of #13548 - lowr:fix/tt-punct-spacing, r=Veykril 2022-11-11 12:19:30 +00:00
Cargo.toml Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00