Search code examples
Unit testing Rust Syn crate...


unit-testingparsingrustrust-macrosrust-proc-macros

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


rustmacroshygienerust-proc-macros

Read More
Is it possible to tell if a field is a certain type or implements a certain method in a procedural m...


rustrust-proc-macros

Read More
Transforming attributes into identifiers on proc macro derive...


parsingrustmacrosrust-proc-macros

Read More
How can a procedural macro check a generic type for Option<Option<T>> and flatten it dow...


rustrust-macrosrust-proc-macros

Read More
How do I create a function-like procedural macro?...


rustrust-macrosrust-proc-macros

Read More
Can a procedural macro be debugged as a function?...


rustrust-macrosrust-proc-macros

Read More
Why does a procedural macro not see environment variables set by dotenv in my build script?...


rustenvironment-variablesbuild-scriptrust-proc-macros

Read More
Call proc macro inside other proc macro...


rustrust-proc-macros

Read More
Converting type inside quote! gives trait errors...


rustrust-proc-macros

Read More
Can we get the source code location of the caller in a procedural macro attribute?...


rustrust-macrosrust-proc-macros

Read More
How to get the content of a module passed to an inner attribute macro?...


rustrust-proc-macros

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


rustrust-proc-macros

Read More
In a procedural macro, how can I check if a string is a valid variable name and not a keyword?...


rustrust-macrosrust-proc-macros

Read More
How can I compute an instance of a type in a function-like procedural macro and return it?...


rustrust-macrosrust-proc-macros

Read More
Convert string into TokenStream...


rustrust-macrosrust-proc-macros

Read More
How do I use a custom namespaced derive-macro attribute on a type instead of inside the type?...


rustrust-macrosrust-proc-macros

Read More
What is this strange syntax where an enum variant is used as a function?...


rustrust-proc-macros

Read More
Cyclic package dependency while implementing proc macro...


rustrust-macrosrust-proc-macros

Read More
How to programmatically get the number of fields of a struct?...


structrustrust-macrosrust-proc-macros

Read More
Cannot call a function-like procedural macro: cannot be expanded to statements...


rustrust-macrosrust-proc-macros

Read More
BackNext