fn check_fn_must_use(
cx: &LateContext<'_>,
expr: &Expr<'_>,
expr_is_from_block: bool,
) -> boolExpand description
Checks if expr is a [method] call expression marked as #[must_use] and emits a lint if so.
Returns true if the lint has been emitted.