E7011 Stdlib Validation Errors

negative-not-allowed

argument cannot be negative

When this occurs

Negative value where positive required

Example error message

error[E7011]: argument cannot be negative

How to fix

Pass a non-negative value (zero or positive).

Related errors