diff options
| author | Jake Goulding <jake.goulding@gmail.com> | 2025-03-17 12:43:55 -0400 |
|---|---|---|
| committer | Jake Goulding <jake.goulding@gmail.com> | 2025-06-04 10:40:04 -0400 |
| commit | d35ad948492146f0811d43606db66c65c55980a9 (patch) | |
| tree | 7a4a6e2aa54e85dd7cc4d61c25971e89ffd9e97b /compiler/rustc_lint/src/lib.rs | |
| parent | 9a50cb4a0caa07b7b751afb70464066e4d6985d3 (diff) | |
| download | rust-d35ad948492146f0811d43606db66c65c55980a9.tar.gz rust-d35ad948492146f0811d43606db66c65c55980a9.zip | |
Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index 0439befc6ba..c86f66cc9b0 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -356,6 +356,7 @@ fn register_builtins(store: &mut LintStore) { store.register_renamed("unused_tuple_struct_fields", "dead_code"); store.register_renamed("static_mut_ref", "static_mut_refs"); store.register_renamed("temporary_cstring_as_ptr", "dangling_pointers_from_temporaries"); + store.register_renamed("elided_named_lifetimes", "mismatched_lifetime_syntaxes"); // These were moved to tool lints, but rustc still sees them when compiling normally, before // tool lints are registered, so `check_tool_name_for_backwards_compat` doesn't work. Use |
