Is it not possible to use grave accents in rust proc-macros? When I do, I get an "unknown start of token" error, even though it /is/ the whole token. When taking a peek at the TokenStream given to the proc-macro function, the grave doesn't appear at all
@ekuber Grave accent on its own. I'm using a proc macro to embed a lisp in rust. Here's an example of the code that's failing with the rust-analyzer message
@godmaire yeah, grave accent on its own is not a valid identifier according to Unicode, and rust follows their guidance. This is at the Lexer step, so proc macros are restricted in the same way.
Add comment