mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
526d1156bd
redundant_type_annotations: only pass certain def kinds to type_of Fixes #11190 Fixes rust-lang/rust#113516 Also adds an `is_lint_allowed` check to skip the lint when it's not needed changelog: none