We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9274c commit 61fc1aeCopy full SHA for 61fc1ae
clippy_lints/src/needless_maybe_sized.rs
@@ -73,7 +73,7 @@ fn type_param_bounds<'tcx>(generics: &'tcx Generics<'tcx>) -> impl Iterator<Item
73
predicate_pos,
74
bound_pos,
75
}),
76
- GenericBound::Outlives(_) => None,
+ GenericBound::Outlives(_) | GenericBound::Use(..) => None,
77
})
78
.filter(|bound| !bound.trait_bound.span.from_expansion()),
79
)
0 commit comments