Replace elided_named_lifetimes with mismatched_lifetime_syntaxes
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user