Skip to content

qquote can fail when spans are slightly off #1785

Closed
@nikomatsakis

Description

@nikomatsakis

The following code #ast{*$(x)} fails with an assertion failure. It seems to be that the size of the span for $(x) is off by one. #ast{*$(x) } works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions