mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
f4d6d6935c
rustc doesn't keep around proc macro helper attributes in the HIR. So it is no longer possible to lint this. In a LateLintPass the necessary information isn't around anymore, in an EarlyPassLint derive attributes are already expanded and dropped and it is not possible to relate an impl with the type it is implemented on. Doing that with `ast::Path`s is brittle.