hamidreza kalbasi
|
8221f9e795
|
add derivable impls lint
|
2021-09-05 01:25:59 +04:30 |
|
Mateusz Gacek
|
c86ba7f92d
|
mem_replace_with_default: recognize some std library ctors
|
2021-03-12 12:57:54 -08:00 |
|
flip1995
|
fb989d3215
|
Remove remaining license header in test file
|
2020-02-20 12:06:45 +01:00 |
|
Krishna Veera Reddy
|
c09e79e226
|
Lint within internal macros without a suggestion
|
2019-12-31 09:22:35 -08:00 |
|
Krishna Veera Reddy
|
26812f733d
|
Prevent mem_replace_with_default lint within macros
Also added test cases for internal and external macros.
|
2019-12-31 09:22:34 -08:00 |
|
Krishna Veera Reddy
|
2a75241c1a
|
Add test cases for replace with Default::default()
|
2019-12-31 09:22:34 -08:00 |
|
Krishna Veera Reddy
|
8db319f957
|
Use mem::take instead of mem::replace when applicable
`std::mem::take` can be used to replace a value of type `T`
with `T::default()` instead of `std::mem::replace`.
|
2019-12-31 09:22:34 -08:00 |
|
Wilco Kusee
|
95f2a9dbfc
|
Add run-rustfix to mem_replace test
|
2019-01-13 13:55:26 +01:00 |
|