title: IncompatibleAssign layout: article

IncompatibleAssign occurs when the type of the right-hand side expression
in an assignment cannot be assigned to the type of the variable being
assigned.

Example:
 var x []int
 var _ int = x