Function is_default_equivalent_call

Source
pub fn is_default_equivalent_call(
    cx: &LateContext<'_>,
    repl_func: &Expr<'_>,
    whole_call_expr: Option<&Expr<'_>>,
) -> bool
Expand description

Returns true if the expr is equal to Default::default when evaluated.