-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
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.