pub fn is_expr_default<'tcx>(
cx: &LateContext<'tcx>,
expr: &'tcx Expr<'tcx>,
) -> boolExpand description
Checks if the given expression is a call to Default::default().
pub fn is_expr_default<'tcx>(
cx: &LateContext<'tcx>,
expr: &'tcx Expr<'tcx>,
) -> boolChecks if the given expression is a call to Default::default().