StackOverflow Questions for Tag: rust-decl-macros

iago-lito
iago-lito

Reputation: 3218

Why do I get "unexpected token" when trying to call an inner macro with the argument of an outer macro?

Score: 0

Views: 2489

Answers: 1

Read More
Netwave
Netwave

Reputation: 42796

Macro matching tokens recursive expansion

Score: 0

Views: 736

Answers: 1

Read More
Netwave
Netwave

Reputation: 42796

How to parse single tokens in rust macros

Score: 3

Views: 1993

Answers: 1

Read More
Jon Nimrod
Jon Nimrod

Reputation: 345

How to make a macro expand before stringifying it in Rust?

Score: 7

Views: 623

Answers: 0

Read More
AerosolSP
AerosolSP

Reputation: 177

How to return a new String from a declarative macro?

Score: 4

Views: 1540

Answers: 1

Read More
anderspitman
anderspitman

Reputation: 10560

Pass entire macro input to another macro

Score: 6

Views: 2357

Answers: 1

Read More
marcusklaas
marcusklaas

Reputation: 502

Import macro from parent module

Score: 12

Views: 3288

Answers: 1

Read More
Lukas Kalbertodt
Lukas Kalbertodt

Reputation: 89006

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

Score: 7

Views: 1078

Answers: 1

Read More
PreviousPage 2Next