rust/tests
bors be09bb47db Auto merge of #5034 - ThibsG:MatchWildErrArmImprove5024, r=flip1995
Match wild err arm improvements

This lint should trigger on other identifiers which have `_` prefix (such as `_e`) and only if they are unused in the panic block.

_Note_: the `is_unused` function is greatly inspired from `pat_is_wild` function in [loops lints](43ac9416d9/clippy_lints/src/loops.rs (L1689)).
I've been considering doing some refactoring, maybe in utils. Maybe this PR or a new one. What do you think ?

fixes #5024

changelog: none
2020-01-15 21:17:21 +00:00
..
auxiliary
ui Auto merge of #5034 - ThibsG:MatchWildErrArmImprove5024, r=flip1995 2020-01-15 21:17:21 +00:00
ui-toml Add new lint: large stack array 2019-11-13 21:44:29 +03:00
compile-test.rs Fix lint warning in compile-test.rs 2020-01-12 19:54:17 +08:00
dogfood.rs
fmt.rs a few small cleanups 2019-12-23 05:28:23 +07:00
integration.rs do minor cleanups 2019-12-24 03:06:52 +07:00
matches.rs Rustup to https://github.com/rust-lang/rust/pull/67853 2020-01-04 11:30:03 +01:00
missing-test-files.rs
needless_continue_helpers.rs
versioncheck.rs