Skip to content

macros: metavariables in tt fragments can hang #35450

Closed
@jseyfried

Description

@jseyfried

@durka reported this in #34925 (comment).

macro_rules! m { ($t:tt) => { $t } }
m!($t); //< This expansion hangs.

Metadata

Metadata

Assignees

No one assigned

    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