darkly
darkly copied to clipboard
Work on stable Rust
We can use the proc macro hack to get around the proc_macro_hygiene feature, and might be able to find ways around other features.
proc_macro_hygiene is now the only feature being used.
It looks like we can't use proc-macro-hack because we want to introduce variables into the calling context, which requires a statement-level expansion, not an expression level one (because of the new let).
Either we wait for proc_macro_hygiene to be stabilised or we have to make the statement version of the macro enabled by a feature.