Rollup merge of #125990 - tbu-:pr_unsafe_env_lint_name, r=ehuss

Rename `deprecated_safe` lint to `deprecated_safe_2024`

Create a lint group `deprecated_safe` that includes `deprecated_safe_2024`.

Addresses https://github.com/rust-lang/rust/issues/124866#issuecomment-2142814375.

r? `@ehuss`
This commit is contained in:
Trevor Gross 2024-07-22 11:40:19 -05:00 committed by GitHub
commit 81135a015f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 15 additions and 12 deletions

View file

@ -322,6 +322,8 @@ fn register_builtins(store: &mut LintStore) {
REFINING_IMPL_TRAIT_INTERNAL
);
add_lint_group!("deprecated_safe", DEPRECATED_SAFE_2024);
// Register renamed and removed lints.
store.register_renamed("single_use_lifetime", "single_use_lifetimes");
store.register_renamed("elided_lifetime_in_path", "elided_lifetimes_in_paths");