fn call_outcome(expr: &Expr<'_>) -> Option<Outcome>Expand description
Classifies a statement-level call expression that terminates the current path before reaching
_, if any. Covers both the Solidity revert/revert(...) builtins and the Yul halting
builtins reachable when recursing into an assembly { .. } block.
- Failing halts (
revert, Yulrevert/invalid) leave every path either reverting or reaching_, so they areOutcome::COVERED(not flagged). - Successful halts (Yul
return/stop,selfdestruct) let the surrounding call finish without running the modified function body, which is exactly what this lint flags, so they behave like areturn(Outcome::RETURNS).