Skip to content

"unexpected end of macro invocation" error has a bogus span #12779

Closed
@sfackler

Description

@sfackler
fn main() { assert!() }
test.rs:1:1: 1:1 error: unexpected end of macro invocation
test.rs:1 fn main() { assert!() }
          ^

Does anyone know if this has ever worked? Did the recent change to spans break zero-width ones?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions