Skip to content

Add tests to make sure the output of "rustc --expand pretty" can compile #5580

Closed
@erickt

Description

@erickt

I ran into an issue in #5578 where error!("...") was getting expanded into log(1, "...") instead of __log(1, "..."), which resulted in a compile error. We should add some tests that make sure we can still compile code after macros have been expanded.

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