Jason Newcomb d2657769a2
Improve clone_on_copy
Lint on `_.clone().method()` when method takes self by value
Set applicability correctly
Correct suggestion when the cloned value is a macro call. e.g. `m!(x).clone()`
Don't lint when not using the `Clone` trait
2021-03-29 16:10:37 -04:00
..
2021-03-29 16:10:37 -04:00
2021-03-29 16:10:37 -04:00
2021-03-29 16:10:37 -04:00
2021-03-16 19:56:47 +09:00
2021-03-16 19:56:47 +09:00
2021-03-25 22:30:14 -04:00
2021-03-03 11:23:29 +01:00