E5016 Naming Errors

Naming

this name is reserved by a builtin function and cannot be redeclared

When this occurs

Attempting to modify a parameter not declared with &

Example error message

error[E5016]: cannot modify read-only parameter 'p'

How to fix

Add `&` before the parameter name to make it mutable: `do foo(&p Person)` instead of `do foo(p Person)`.

Related errors