Function is_expr_default

Source
pub fn is_expr_default<'tcx>(
    cx: &LateContext<'tcx>,
    expr: &'tcx Expr<'tcx>,
) -> bool
Expand description

Checks if the given expression is a call to Default::default().