Skip to content

libsyntax: bug in macro expanded non-inline module declarations #31624

Closed
@jseyfried

Description

@jseyfried

The search paths for a macro-expanded non-inline module declaration are always computed as if the declaration were at the top level of the file in which the macro was defined.

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