Move `redundant_type_annotations` to restriction

This commit is contained in:
Alessio Cosenza 2023-04-25 00:28:17 +02:00
parent 01b1057258
commit 6776608f21
No known key found for this signature in database
GPG Key ID: 785AB79082BB23C2
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.70.0"]
pub REDUNDANT_TYPE_ANNOTATIONS,
pedantic,
restriction,
"warns about needless / redundant type annotations."
}
declare_lint_pass!(RedundantTypeAnnotations => [REDUNDANT_TYPE_ANNOTATIONS]);