Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust-macros

How do I create a proc_macro_attribute?

Cyclic package dependency while implementing proc macro

write! macro does not compile in a separate method when taking reference

rust rust-macros

Build all pairs of elements (quadratic set) in declarative macro

How do I create a function-like procedural macro?

Custom literals via Rust macros?

rust rust-macros

How to simplify mathematical formulas with rust macros?

rust rust-macros

Is it possible to write something as complex as `print!` in a pure Rust macro?

Issuing a warning at compile time?

How to call methods on self in macros?

rust rust-macros

How do I provide helpful compiler errors in a procedural macro?

rust rust-macros

How to pad an array with zeros?

rust rust-macros

Creating environment for closure in a macro in Rust

rust rust-macros

What does an @ symbol mean in a Rust declarative macro?

How to match Rust's `if` expressions in a macro?

macros rust rust-macros

Import macro from parent module [duplicate]

Unable to use self in macro because the macro expansion ignores token `self`

rust rust-macros

Why can I not access a variable declared in a macro unless I pass in the name of the variable?

macros rust rust-macros

How to replace one identifier in an expression with another one via Rust macro?

rust rust-macros