Replace elided_named_lifetimes with mismatched_lifetime_syntaxes

This commit is contained in:
Jake Goulding
2025-03-17 12:43:55 -04:00
parent 9a50cb4a0c
commit d35ad94849
112 changed files with 500 additions and 669 deletions

View File

@@ -67,7 +67,7 @@ declare_lint! {
/// In certain `unsafe` code, lifetime elision combined with
/// inconsistent lifetime syntax may result in unsound code.
pub MISMATCHED_LIFETIME_SYNTAXES,
Allow,
Warn,
"detects when a lifetime uses different syntax between arguments and return values"
}