Function clippy_utils::ty::expr_sig
source · pub fn expr_sig<'tcx>(
cx: &LateContext<'tcx>,
expr: &Expr<'_>
) -> Option<ExprFnSig<'tcx>>
Expand description
If the expression is function like, get the signature for it.
pub fn expr_sig<'tcx>(
cx: &LateContext<'tcx>,
expr: &Expr<'_>
) -> Option<ExprFnSig<'tcx>>
If the expression is function like, get the signature for it.