Closed
Description
rustc_lexer
is now the lexer used by rustc and is on crates for reuse. rust-analyzer is already using it. It would make sense for proc-macro2
to also use rustc_lexer
and only have to do bracket matching and trivia stripping.
I spent a little time trying to do so, but I'm not familiar enough with the current fallback parser to do so. I can attempt just ripping everything out and building from scratch on rustc_lexer
, but I'd prefer to have a go-ahead before putting time into that.
Metadata
Metadata
Assignees
Labels
No labels