Reports references to loop variables from within nested functions.

This analyzer checks for references to loop variables from within a function literal inside the loop body. It checks only instances where the function literal is called in a defer or go statement that is the last statement in the loop body.

See: Go Closures and Goroutines FAQ