title: InvalidConstInit layout: article

InvalidConstInit occurs when a const declaration has a non-constant
initializer.

Example:
 var x int
 const _ = x