Function clippy_utils::ty::sig_from_bounds

source ยท
fn sig_from_bounds<'tcx>(
    cx: &LateContext<'tcx>,
    ty: Ty<'tcx>,
    predicates: impl IntoIterator<Item = Clause<'tcx>>,
    predicates_id: Option<DefId>
) -> Option<ExprFnSig<'tcx>>