no-unit-binding Disallow binding unit values A unit binding cannot carry information for later use. Instead, you SHOULD evaluate the expression as a statement without declaring a binding. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function record(): void {} const result = record(); Accepted function record(): void {} record(); Prior art - Clippy ยท letunitvalue language/linter/src/rules/style/nounitbinding.rs:8