Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Rust, macros work at the tokenization level. Making a macro do that would require the macro to fully parse and analyze the syntax tree - possible, but not very efficient. Additionally, there's no guardrail to enforce that the user doesn't move a `Gc` anyway.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: