]> git.lizzy.rs Git - rust.git/commit
auto merge of #6038 : alexcrichton/rust/more-unsafe, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 24 Apr 2013 01:27:48 +0000 (18:27 -0700)
committerbors <bors@rust-lang.org>
Wed, 24 Apr 2013 01:27:48 +0000 (18:27 -0700)
commit706096b31960143fb1eb957a882f170ae4a8b4e9
treeb4e4afd8a3c0c6efa7965cb5dd6d0b8342c16d87
parent8708e0c099400f363a5b95806847bd12d780000a
parent0c2ab662b71377efd2da7dced4f56e75cb68f540
auto merge of #6038 : alexcrichton/rust/more-unsafe, r=pcwalton

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.