Skip to content

Commit

Permalink
Move use_self to nursery
Browse files Browse the repository at this point in the history
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
  • Loading branch information
phansch committed Nov 29, 2019
1 parent b5a6714 commit 70a2a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/use_self.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare_clippy_lint! {
/// }
/// ```
pub USE_SELF,
pedantic,
nursery,
"Unnecessary structure name repetition whereas `Self` is applicable"
}

Expand Down
2 changes: 1 addition & 1 deletion src/lintlist/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2193,7 +2193,7 @@ pub const ALL_LINTS: [Lint; 338] = [
},
Lint {
name: "use_self",
group: "pedantic",
group: "nursery",
desc: "Unnecessary structure name repetition whereas `Self` is applicable",
deprecation: None,
module: "use_self",
Expand Down

0 comments on commit 70a2a29

Please sign in to comment.