xFrednet
a6f54f5dfd
Renaming the lint to branches_sharing_code and fixing typos
2021-04-05 13:35:51 +02:00
xFrednet
617c65baa9
Moving shared_code_in_if_blocks to clippy::complexity and running lintcheck
2021-04-05 13:35:51 +02:00
xFrednet
d1df73228a
A new lint for shared code in if blocks
...
* Added expression check for shared_code_in_if_blocks
* Finishing touches for the shared_code_in_if_blocks lint
* Applying PR suggestions
* Update lints yay
* Moved test into subfolder
2021-04-05 13:33:45 +02:00
Cameron Steffen
ada8c72f3f
Add version = "Two" to rustfmt.toml
...
Ignore UI tests since this change makes rustfmt less friendly with UI
test comments.
2021-03-01 16:17:33 -06:00
Matthias Krüger
6d0b5e24df
update test stderr
2020-08-11 00:27:55 +02:00
Matthias Krüger
8679dd375b
unnecessary_unwrap, panicking_unwrap: make lints adhere to lint message convention
2020-08-10 23:49:06 +02:00
ThibsG
72ce6d5be9
Fix unwrap lint when checks are done in parameters
2020-05-02 13:03:11 +02:00
flip1995
a808779441
Split up checked_unwrap test further
2020-03-18 15:26:24 +01:00
Lzu Tao
c6a4beaf56
Rustup https://github.com/rust-lang/rust/pull/67359
2020-02-07 10:40:09 +07:00
Yuki Okushi
19ce66c1c1
Re-cover use of unnecessary unwraps in macros
2020-02-05 05:38:26 +09:00
Yuki Okushi
514b1bc2af
Do not lint unnecessary_unwrap
in macros
2020-02-04 04:01:42 +09:00
Matthias Krüger
187983e991
update test stderr
2020-01-31 20:21:10 +01:00
Michael Wright
be646ac0df
Update formatting
2019-08-01 07:09:57 +02:00
Philipp Hansch
48bff49484
UI Test Cleanup: Split up checked_unwrap tests
...
This splits up `tests/ui/checked_unwrap.rs` into:
* `tests/ui/checked_unwrap/complex.rs`
* `tests/ui/checked_unwrap/simple.rs`
Based on the naming of the methods in the tests.
cc #2038
2019-07-16 21:23:43 +02:00