E2011 Parse Errors
const-requires-value
const must be initialized
When this occurs
`const x int` without value
Example error message
error[E2011]:
const 'x' must be initialized with a value
How to fix
Constants must be initialized. Add `= value` to your const declaration.
Related errors
No related errors.