mozilla/rust — pull request #6038 by alexcrichton (2013-04-23 23:59:51+00:00)
Title: Warn about unsafe blocks in unsafe functions

Because unsafe functions are never warned about, then all `unsafe` blocks in unsafe functions should definitely be warned about (no need to be redundant). This fixes this case, adds tests, cleans up remaining cases, and then fixes a few other import warnings being spit out.