mozilla/rust — pull request #5804 by alexcrichton (2013-04-09 17:51:57+00:00)
Title: Allow lint modes to be used on unused variables and dead assignments

This leaves the default lint modes at `warn`, but now the unused variable and dead assignment warnings are configurable on a per-item basis. As described in #3266, this just involved carrying around a couple ids to pass over to `span_lint`. I personally would prefer to keep the `_` prefix as well.

This closes #3266.