SpiceQA
Questions
Tags
Users
Badges
rust-proc-macros
32 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How can I generate files from Rust procedural macros?
user_6445050
0
•
asked Jun 23, 2020
2
1
916
rust-proc-macros
rust
r
How can I add rustdoc comments to proc macro-generated code?
user_1191181
0
•
asked Jun 12, 2020
3
0
794
rust-proc-macros
rust-cargo
rust
How do I write simple unit test functions for attributes when creating procedural macros?
user_5190508
0
•
asked May 18, 2020
2
0
213
rust-proc-macros
rust
How do I get the value and type of a Literal in a procedural macro?
user_8171560
0
•
asked Apr 12, 2020
13
4
3575
rust-proc-macros
rust
Is there a way to get the file and the module path of where a procedural macro is attached at compile-time?
user_1350184
0
•
asked Mar 18, 2020
11
2
2983
rust-proc-macros
rust
Can we get the source code location of the caller in a procedural macro attribute?
user_1714250
0
•
asked Mar 15, 2020
4
2
1664
rust-macros
rust-proc-macros
rust
Infer the name of the calling crate to populate a doctest in a procedural macro
user_709852
0
•
asked Oct 29, 2019
4
1
732
rust-macros
rust-proc-macros
rust
doctest
Can proc macros determine the target of the invoking compilation?
user_623041
0
•
asked Sep 30, 2019
3
2
630
rust-proc-macros
rust
compilation
environment-variables
macros
How to programmatically get the number of fields of a struct?
user_6882497
0
•
asked Jan 14, 2019
28
2
4719
rust-macros
rust-proc-macros
rust
struct
Convert string into TokenStream
user_3599414
0
•
asked Jan 13, 2019
7
1
4249
rust-macros
rust-proc-macros
rust
Prev
Prev
1
2
3
(current)
4
Next
Next
Hot Questions