Alex Macleod
3474df6a8e
Rewrite empty_line_after_doc_comments and empty_line_after_outer_attr
2024-08-24 18:07:31 +00:00
Oli Scherer
3d88fae050
Update ui test crate
2023-08-11 14:02:28 +00:00
Centri3
26f50395ba
Add needless_if
lint
2023-06-10 06:51:03 -05:00
Oli Scherer
def1705a27
Update to a compiletest-rs version that requires //@
for commands
2023-04-20 14:44:03 +00:00
Serial
14667d1474
Fix missing whitespace in collapsible_else_if
suggestion
2022-04-21 13:45:40 -04:00
hkalbasi
388a3d0983
Implement equatable if let lint
2021-10-04 22:16:42 +03:30
Cameron Steffen
39ba449c2a
Fix collapsible_if false positive with attributes
2021-02-08 11:00:30 -06:00
Matthias Krüger
6dcec6ae86
collapsible_if: split collapsible_else_if into its own lint so we can enable/disable it particularly
...
This splits up clippy::collapsible_if into collapsible_if for
if x {
if y { }
}
=>
if x && y { }
and collapsible_else_if for
if x {
} else {
if y { }
}
=>
if x {
} else if y {
}
so that we can lint for only the latter but not the first if we desire.
changelog: collapsible_if: split up linting for if x {} else { if y {} } into collapsible_else_if lint
2021-01-04 13:34:14 +01:00
David Tolnay
899a1b5598
Move cognitive_complexity to nursery
2020-04-08 08:37:20 -07:00
flip1995
7363728d18
Update remaining test files
2020-02-06 19:15:01 +01:00
Yuki Okushi
175c78bc17
Split up collapsible_if
ui test
2020-01-07 15:06:23 +09:00