We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0u8..-1 compiles, runs (as 0..255) without warning or error. Debug assertions don't fire.
0u8..-1
We error on 0..-1u8 error: unary negation of unsigned integers may be removed in the future.
0..-1u8
We can't "fix" this backwards compatibly after 1.0.
0u8..-1 should either warn or trip debug assertions.