Fix tools
This commit is contained in:
parent
249210e8d8
commit
f8969853eb
6 changed files with 5 additions and 14 deletions
|
|
@ -78,7 +78,6 @@ pub(super) fn check<'tcx>(
|
|||
cx.tcx
|
||||
.inherent_impls(adt_def.did())
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.flat_map(|impl_id| cx.tcx.associated_items(impl_id).filter_by_name_unhygienic(sugg))
|
||||
.find_map(|assoc| {
|
||||
if assoc.fn_has_self_parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue