You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -197,9 +197,9 @@ impl<'tcx> LateLintPass<'tcx> for TraitBounds {
197
197
// If the number of unique traits isn't the same as the number of traits in the bounds,
198
198
// there must be 1 or more duplicates
199
199
if bounds.len() != unique_traits.len(){
200
-
letmut bounds_span = bounds[0].0.span;
200
+
letmut bounds_span = bounds[0].span;
201
201
202
-
for(bound, _)in bounds.iter().skip(1){
202
+
for bound in bounds.iter().skip(1){
203
203
bounds_span = bounds_span.to(bound.span);
204
204
}
205
205
@@ -229,7 +229,8 @@ impl TraitBounds {
229
229
/// this MSRV? See <https://github.com/rust-lang/rust-clippy/issues/8772> for details.
0 commit comments