Oli Scherer
|
3d88fae050
|
Update ui test crate
|
2023-08-11 14:02:28 +00:00 |
|
J-ZhengLi
|
008e07d4e8
|
fix [mem_replace_option_with_none] not considering field variables
|
2023-04-06 16:16:22 +08:00 |
|
Alex Macleod
|
461e219d1d
|
Allow using clippy::msrv as an outer attribute
|
2022-11-27 12:43:17 +00:00 |
|
Alex Macleod
|
815876d93f
|
Move MSRV tests into the lint specific test files
|
2022-10-21 21:35:39 +00:00 |
|
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 |
|
flip1995
|
d2dbd0b8a5
|
Update *.stderr files
|
2018-12-28 12:41:12 +01:00 |
|
Matthias Krüger
|
7bcc2cd9c8
|
update test stderr
|
2018-12-10 08:22:07 +01:00 |
|
Manish Goregaokar
|
e9c025ea70
|
Add license header to Rust files
|
2018-10-06 09:43:08 -07:00 |
|
Jay Kickliter
|
2f53aaa5bd
|
mem_replace: match on path.
|
2018-09-19 14:41:22 -07:00 |
|
Jay Kickliter
|
598df08d88
|
Add lint for mem::replace(.., None) .
Suggest `Option::take()` as an alternative.
|
2018-09-19 14:38:34 -07:00 |
|