about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-15 14:37:16 +0000
committerbors <bors@rust-lang.org>2023-02-15 14:37:16 +0000
commit595f783f2212a551fe513c05922d4eda0b8bda7b (patch)
tree576269340dbb02a815a749d3bdb7aff447af14db /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent8754d5a6fb98fa9e37b6067322325b4be3d0a388 (diff)
parent8789b37d06e74aef732b5bba1b88a9f4fefdee18 (diff)
downloadrust-595f783f2212a551fe513c05922d4eda0b8bda7b.tar.gz
rust-595f783f2212a551fe513c05922d4eda0b8bda7b.zip
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 -->
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions