bors 595f783f22 Auto merge of #10321 - mkrasnitski:false-positives, r=flip1995
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 -->
2023-02-15 14:37:16 +00:00
..
2023-02-01 22:51:02 +01:00
2023-02-01 22:51:02 +01:00
2023-01-30 10:10:52 -07:00
2023-02-10 19:02:39 +01:00
2023-02-07 15:39:19 +05:30