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 -->