Reorganize proc-macro-srv

This commit is contained in:
Lukas Wirth 2025-07-31 09:53:26 +02:00
parent a7a365e8f8
commit 218e00d0bb
5 changed files with 131 additions and 148 deletions

View file

@ -209,7 +209,7 @@ pub(super) fn from_token_tree<Span: Copy>(
token_trees.push(tt::TokenTree::Leaf(tt::Leaf::Punct(tt::Punct {
spacing: tt::Spacing::Alone,
span: literal.span,
char: '-' as char,
char: '-',
})));
symbol = Symbol::intern(&symbol.as_str()[1..]);
}