mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
595f783f22
Fix false positives for `extra_unused_type_parameters` Don't lint external macros. Also, if the function body is empty, any type parameters with bounds on them are not linted. Note that only the body needs be empty - this rule still applies if the function takes any arguments. fixes #10318 fixes #10319 changelog: none <!-- changelog_checked -->