Skip to content

Commit 70a2a29

Browse files
committed
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
1 parent b5a6714 commit 70a2a29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/use_self.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare_clippy_lint! {
4343
/// }
4444
/// ```
4545
pub USE_SELF,
46-
pedantic,
46+
nursery,
4747
"Unnecessary structure name repetition whereas `Self` is applicable"
4848
}
4949

src/lintlist/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,7 @@ pub const ALL_LINTS: [Lint; 338] = [
21932193
},
21942194
Lint {
21952195
name: "use_self",
2196-
group: "pedantic",
2196+
group: "nursery",
21972197
desc: "Unnecessary structure name repetition whereas `Self` is applicable",
21982198
deprecation: None,
21992199
module: "use_self",

0 commit comments

Comments
 (0)