mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-20 03:32:52 +00:00
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:
parent
b5a6714155
commit
70a2a29453
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user