bors
039af9c9e7
Auto merge of #9667 - dorublanzeanu:master, r=giraffate
...
add new lint `seek_to_start_instead_of_rewind `
changelog: `seek_to_start_instead_of_rewind`: new lint to suggest using `rewind` instead of `seek` to start
Resolve #8600
2022-10-25 00:14:59 +00:00
est31
f827be92fc
Add lint to tell about let else pattern
2022-10-24 22:05:39 +02:00
Doru-Florin Blanzeanu
b9b9d6a751
Change lint name to seek_to_start_instead_of_rewind
...
- This name makes more sense and highlights the issue
Signed-off-by: Doru-Florin Blanzeanu <blanzeanu.doru@protonmail.com>
2022-10-24 16:31:45 +00:00
Doru-Florin Blanzeanu
8d6ce3177b
Add new lint rewind_instead_of_seek_to_start
...
Signed-off-by: Doru-Florin Blanzeanu <blanzeanu.doru@protonmail.com>
2022-10-24 10:43:48 +00:00
Alex Macleod
a201518a8a
Generate lint categories and explanations with declare_clippy_lint
...
Changes it to be a proc_macro rather than macro_rules
2022-10-23 20:32:26 +00:00