Skip to content

Commit 61fc1ae

Browse files
Rework precise capturing syntax
1 parent fa9274c commit 61fc1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/needless_maybe_sized.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fn type_param_bounds<'tcx>(generics: &'tcx Generics<'tcx>) -> impl Iterator<Item
7373
predicate_pos,
7474
bound_pos,
7575
}),
76-
GenericBound::Outlives(_) => None,
76+
GenericBound::Outlives(_) | GenericBound::Use(..) => None,
7777
})
7878
.filter(|bound| !bound.trait_bound.span.from_expansion()),
7979
)

0 commit comments

Comments
 (0)