fix std/range/constraints.d static errors

This returns `void`.