const Doc = `check for useless assignments
This checker reports assignments of the form x = x or a[i] = a[i].
These are almost always useless, and even when they aren't they are
usually a mistake.`
var Analyzer = &analysis.Analyzer{ Name: "assign", Doc: Doc, Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }