if_chain! {
if let WherePredicate::BoundPredicate(ref bound_predicate) = predicate;
if !in_macro(bound_predicate.span);
- if let TyKind::Path(ref path) = bound_predicate.bounded_ty.kind;
- if let QPath::Resolved(_, Path { ref segments, .. }) = path;
+ if let TyKind::Path(QPath::Resolved(_, Path { ref segments, .. })) = bound_predicate.bounded_ty.kind;
if let Some(segment) = segments.first();
if let Some(trait_resolutions_direct) = map.get(&segment.ident);
then {