Skip to content

Detect Rust2018-incompatible macros #4995

Open
@sinkuu

Description

@sinkuu

Exported macros that invokes other macros in the same crate without $crate:: prefix should be linted, as that requires users doing use the_crate::{the_macro, the_other_macro} (or #[macro_use] extern) even if the only thing they want to use is the_macro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-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