Skip to content

Lint request: Warn when importing inside a macro and not using the $ keyword. #4798

Closed
@nilscript

Description

@nilscript

I suggest adding a lint for when a programmer makes a macro, imports something into said macro and forgets $ before crate keyword. Exporting macros across crates can be a hassel, atleast for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-hardCall for participation: This a hard problem and requires more experience or effort to work onE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.T-macrosType: Issues with macros and macro expansion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions