no-redundant-closure-call Disallow parameterless lambdas called where they are defined Calling a parameterless lambda at its definition adds a callable boundary around one immediate computation. Instead, you SHOULD evaluate the lambda body directly. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function answer(): int32 { return (() => 42)(); } Accepted function answer(): int32 { return 42; } Prior art - Clippy ยท redundantclosurecall language/linter/src/rules/style/noredundantclosurecall.rs:8