mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
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