Mettle

callee-no-returnThe callee has no return instruction to rewrite

Reported by --explain after a verdict.

mettle explain callee-no-return

Inlining works by rewriting the callee's returns into assignments in the caller. A body with no return has nothing to rewrite. A function that only ever traps or loops forever looks like this.

A structural guard: @inline does not override it.

Related