Move use_self to nursery

Closes #4859

We have a lot of false positives in this lint, so I think it makes sense
to move this to the nursery until they are resolved.

changelog: Move `use_self` lint to nursery, due to many false positives
This commit is contained in:
Philipp Hansch 2019-11-29 07:51:49 +01:00
parent b5a6714155
commit 70a2a29453
No known key found for this signature in database
GPG Key ID: 82AA61CAA11397E6
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ declare_clippy_lint! {
/// } /// }
/// ``` /// ```
pub USE_SELF, pub USE_SELF,
pedantic, nursery,
"Unnecessary structure name repetition whereas `Self` is applicable" "Unnecessary structure name repetition whereas `Self` is applicable"
} }

View File

@ -2193,7 +2193,7 @@ pub const ALL_LINTS: [Lint; 338] = [
}, },
Lint { Lint {
name: "use_self", name: "use_self",
group: "pedantic", group: "nursery",
desc: "Unnecessary structure name repetition whereas `Self` is applicable", desc: "Unnecessary structure name repetition whereas `Self` is applicable",
deprecation: None, deprecation: None,
module: "use_self", module: "use_self",