E3005 Types Errors

Types

cannot modify constant '%s'; declare with 'mut' to make it mutable

When this occurs

`int("abc")`

Example error message

error[E3005]: cannot convert "abc" to int: invalid integer format

How to fix

The value cannot be converted to an integer. Check the source value type.

Related errors