Skip to content

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

Closed
@nrc

Description

@nrc

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.

Metadata

Metadata

Assignees

Labels

A-macrosArea: 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