Oli Scherer
|
def1705a27
|
Update to a compiletest-rs version that requires //@ for commands
|
2023-04-20 14:44:03 +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 |
|
Philipp Hansch
|
38d4ac7cea
|
Remove all copyright license headers
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
|
2019-01-08 21:46:39 +01:00 |
|
Matthias Krüger
|
435299be30
|
rustfmt tests
|
2018-12-09 23:26:16 +01:00 |
|
Oliver Scherer
|
b8654eaa6c
|
Stabilize tool lints
|
2018-10-11 12:16:22 +02: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 |
|