Skip to content

token quote should be able to unquote a single token #39746

Closed

Description

At the moment it can only unquote a TokenStream.

E.g., this should work:

let f = token::Ident("foo");
qquote!(let unquote f = blah;);

Also, we should have syntax for unquote, but that is unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions