Skip to content

Macros not emiting the line they are expanded on in nightly #33280

Closed
@enricostano

Description

@enricostano

I noticed that running try!() macro in main() doesn't add line numbers in errors.

Code: http://is.gd/m7CFnx

It works fine in stable and beta, seems a nightly regression.

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