about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-05 13:23:16 +0000
committerbors <bors@rust-lang.org>2024-08-05 13:23:16 +0000
commite17d254e2bd3fc78bbff021171813cc0e9424b97 (patch)
treea458d40a30440a4084828d37725feb5565a47606 /compiler/rustc_codegen_llvm/src
parente611c8e1c4cc7c86cc95f4e646ff4322b8345fb3 (diff)
parentc2186e14de00329fc563aed546b5fd10c11ea5db (diff)
downloadrust-e17d254e2bd3fc78bbff021171813cc0e9424b97.tar.gz
rust-e17d254e2bd3fc78bbff021171813cc0e9424b97.zip
Auto merge of #13180 - Jarcho:deprecated_shrink, r=flip1995
Simplify lint deprecation

A couple of small changes:
* A few deprecations were changed to renames. They all had a message similar to "this lint has been replaced by ..." which is just describing a rename.
* The website and warning message are now the same. The website description was usually just a wordier version that contained no extra information. This can be worked around if needed, but I don't think that will happen.
* The legacy deprecations have been removed. rustc should handle this since it already suggests adding the `clippy::` for all lints (deprecated or not) when they're used without it. It wouldn't be a problem to add them back in.
* The website no longer has a "view source" link for deprecated lints since they're no longer read from the HIR tree. I could store the line number, but the link seems totally useless for these lints.

This came up as part of separating the internal lints into their own crate. Both the metadata collector and the lint registration code needs access to the deprecated and renamed lists. This form lets all the deprecations be a separate crate.

r? `@flip1995`

changelog: none
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions