rust/crates
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
..
base-db Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
cfg Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
flycheck Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
hir Don't canonicalize self type when querying FnOnce signature 2022-11-08 18:05:07 +01:00
hir-def Auto merge of #13548 - lowr:fix/tt-punct-spacing, r=Veykril 2022-11-11 12:19:30 +00:00
hir-expand Auto merge of #13548 - lowr:fix/tt-punct-spacing, r=Veykril 2022-11-11 12:19:30 +00:00
hir-ty Don't canonicalize self type when querying FnOnce signature 2022-11-08 18:05:07 +01:00
ide Don't canonicalize self type when querying FnOnce signature 2022-11-08 18:05:07 +01:00
ide-assists Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
ide-completion fix: Fix item completions not working properly after unit structs and outline modules 2022-11-08 08:37:45 +01:00
ide-db Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
ide-diagnostics Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
ide-ssr Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
limit Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
mbe Auto merge of #13548 - lowr:fix/tt-punct-spacing, r=Veykril 2022-11-11 12:19:30 +00:00
parser Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
paths Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
proc-macro-api Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
proc-macro-srv Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
proc-macro-srv-cli Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
proc-macro-test Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
profile Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
project-model Add proc-macro dependency to rustc_private crates 2022-11-09 20:50:18 +01:00
rust-analyzer Send status notification if there are no found workspaces 2022-11-11 13:00:22 +01:00
sourcegen Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
stdx Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
syntax Auto merge of #13568 - noritada:fix/len-of-byte-string-with-escaped-newlines, r=Veykril 2022-11-07 15:04:40 +00:00
test-utils Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
text-edit Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
toolchain Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
tt Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
vfs Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
vfs-notify Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00