]> git.lizzy.rs Git - rust.git/commit
Make warnings of renamed and removed lints themselves lints
authorBrian Anderson <banderson@mozilla.com>
Sat, 12 Mar 2016 20:46:59 +0000 (20:46 +0000)
committerBrian Anderson <banderson@mozilla.com>
Wed, 23 Mar 2016 23:41:48 +0000 (23:41 +0000)
commitaddde1fd6f6fc16471473aaea405a8b73e8e9580
treedf0d821a439a77b9c6f5736b7fdeebb50189ef78
parent98f0a9128f0fc6545de14a5de8f0e91675045e56
Make warnings of renamed and removed lints themselves lints

This adds the `renamed_and_removed_lints` warning, defaulting
to the warning level.

Fixes #31141
src/librustc/lint/builtin.rs
src/librustc/lint/context.rs
src/test/compile-fail/lint-removed-allow.rs [new file with mode: 0644]
src/test/compile-fail/lint-removed.rs
src/test/compile-fail/lint-renamed-allow.rs [new file with mode: 0644]
src/test/run-pass/ifmt.rs