List Question
20 TechQA 2023-02-19T02:18:26.250000How to concat two variables to create an identifier in a declarative macro?
839 views
Asked by Zach
How do I early return in declarative macros and infer the return type?
699 views
Asked by Eray Erdin
How can I generate trait bounds in a declarative macro?
1.1k views
Asked by Shepmaster
How do I generate a macro from previous macro-generated code?
300 views
Asked by litchipi
How can I operate on pairs of arguments to macro_rules?
964 views
Asked by codearm
How do I get an identifer from an expression argument in a macro?
1k views
Asked by user318904
Is there a way to pass a function as a parameter of a macro?
701 views
Asked by Kofi
How do I detect if an optional keyword was supplied to a declarative macro?
495 views
Asked by lolad
How to write a macro that displays the file and line number and a variable number of arguments?
3k views
Asked by Wakan Tanka
Use local bindings at call site in Rust "macro_rules" macros
754 views
Asked by Dincio
How do I use Rust macros in the same crate?
54 views
Asked by knh190
Generate attribute value via macro
495 views
Asked by HentaiMew
Can I define a macro which will expand into a function call?
344 views
Asked by Shmoopy
How to implement a macro that defines a new public type and returns an instance of that type?
564 views
Asked by noconst
How to match a trait in a Rust macro?
1.8k views
Asked by Inline
Macro to build enum with different "kinds" of elements
498 views
Asked by Eugene Sh.
Why do I get "unexpected token" when trying to call an inner macro with the argument of an outer macro?
2k views
Asked by iago-lito
Is there a way to "do macro stuff" in an attribute without a procedural macro?
954 views
Asked by Silly Freak
Macro matching tokens recursive expansion
704 views
Asked by Netwave
How to parse single tokens in rust macros
1.6k views
Asked by Netwave