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.
This commit is contained in:
parent
cb12b52f16
commit
bf96c56e84
7 changed files with 15 additions and 12 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue