Skip to content

Create a path_gen macro/library #14

@KaiserKarel

Description

@KaiserKarel

We currently hardcode a lot of paths, usually in a path.rs file. If libraries change the layout of their modules, our lints will still compile, but no longer match the correct types. Ideally we'd have a tool/automated process to ensure that we do not generate false-negatives. It is okay to have multiple paths to the same type, as long as no path is missing. So for example, if we are linting for the correct usage of DangerousStruct, and initially the path is crate::dangerous::DangerousStruct, but then in v2 of the library becomes crate::dangerous::structs::DangerousStruct, we'll want both paths to be included in substrace.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions