Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust-proc-macros

How can I store an identifier (`proc_macro::Ident`) as a constant to avoid repeating it?

rust rust-proc-macros

Rust proc_macro_derive: How do I check if a field is of a primitive type, like boolean?

rust rust-proc-macros

What is a suitable place to store procedural macro artifacts so that they are cleaned up by `cargo clean`?

Why can't Rust find method for enum generated using proc_macro_attribute?

rust enums rust-proc-macros

How do I create a proc_macro_attribute?

Cyclic package dependency while implementing proc macro

Is there a way to get the file and the module path of where a procedural macro is attached at compile-time?

rust rust-proc-macros

How do I create a function-like procedural macro?

How can I get the T from an Option<T> when using syn?

How can I create hygienic identifiers in code generated by procedural macros?

How do I get the value and type of a Literal in a procedural macro?

rust rust-proc-macros

How to report errors in a procedural macro using the quote macro?

How to programmatically get the number of fields of a struct?

How do I see the expanded macro code that's causing my compile error?