A.k.a. "error[E0425]: cannot find function `empty_list_when_there_are_no_charities` in this scope" My macro is basically adding one statement at the beginning and one statement at the end of the body. Then I expect `actix_rt::test` to add the `block_on` wrapper around the body.
Is there a way to "compose" attribute procedural macros? I am trying to stack `#[actix_rt::test]` on top of my own macro that supplies setup/teardown of my test server (my very first proc macro!) but I am hitting something that smells like a hygiene issue.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at