]> git.lizzy.rs Git - rust.git/commit
Apply lint restrictions from renamed lints
authorJoshua Nelson <jyn514@gmail.com>
Sun, 28 Feb 2021 05:12:54 +0000 (00:12 -0500)
committerJoshua Nelson <jyn514@gmail.com>
Sun, 28 Feb 2021 06:04:34 +0000 (01:04 -0500)
commitdf156c1958bd029101136bc69d705af63972a8c5
treed5c9a292994fbd281d6dc25bdf1781fd37a6027c
parent8a9f7862bcfa5870a34bb54f77a03c73d1db5c37
Apply lint restrictions from renamed lints

Previously, if you denied the old name of a renamed lint, it would warn
about using the new name, but otherwise do nothing. Now, it will behave
the same as if you'd used the new name.
compiler/rustc_lint/src/levels.rs
src/test/ui/lint/renamed-lints-still-apply.rs [new file with mode: 0644]
src/test/ui/lint/renamed-lints-still-apply.stderr [new file with mode: 0644]