Skip to content

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

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.

Activity

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

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