Are there any interesting implementations of @rustlang macros?
Pretty much anything in https://github.com/diesel-rs/diesel/tree/master/diesel/src/macros … will be fairly interesting. Lots of more complex macros with real world use
-
-
https://github.com/diesel-rs/diesel/blob/c44b2db5fb5c47a56bec3abb5b8081ed1371a451/diesel/src/macros/mod.rs#L1138-L1145 … is probably my favorite. We used to do `const _SOME_NAME: () = { extern crate diesel; /* stuff */ }` in proc macros, but then we wanted to start using it in Diesel itself, so that would no longer work.
End of conversation
New conversation
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.