That can catch some programming errors.
If you really want to call a value-producing function at statement level, only for its side effects, then you can always capture its result in a const-declaration.
const toss_it: T = CallForSideEffects();
Or
const _ := CallForSideEffects(); // if we have type deduction
_ := CallForSideEffects(); // even more aggressive throwaway with type deduction
// Invent a void-constructor explicitly for this purpose.
// It's a sink for values, producing void.
void(CallForSideEffects());
That can catch some programming errors.
If you really want to call a value-producing function at statement level, only for its side effects, then you can always capture its result in a const-declaration.
Or