Rework precise capturing syntax
This commit is contained in:
parent
fa9274c99b
commit
61fc1aec74
@ -73,7 +73,7 @@ fn type_param_bounds<'tcx>(generics: &'tcx Generics<'tcx>) -> impl Iterator<Item
|
||||
predicate_pos,
|
||||
bound_pos,
|
||||
}),
|
||||
GenericBound::Outlives(_) => None,
|
||||
GenericBound::Outlives(_) | GenericBound::Use(..) => None,
|
||||
})
|
||||
.filter(|bound| !bound.trait_bound.span.from_expansion()),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user