Turn on deprecation warning for renamed lints

A [recent PR](https://github.com/rust-lang/rust/pull/18044) renamed a number of lints based on [new conventions](https://github.com/rust-lang/rfcs/pull/344).

That PR did not turn on the new lint deprecation infrastructure, since it needed a snapshot before doing so.

The snapshot has landed, so this PR finishes the work:

* Turns on lint deprecation warnings
* Renames lint uses in the codebase
* Adds a regression test for the deprecation warning