self-assignment
Default severity: warning
Assigning a side-effect-free expression to the identical destination does nothing and usually indicates a mistaken variable on one side. Expressions with effectful calls or channel receives are excluded because evaluating them can change state.
current = currentcurrent = next