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 Remove all copyright license headers 2019-01-08 21:46:39 +01:00
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 tests: dogfood: run tests with debuginfo=0 reducing dogfood target dir size even further. 2019-09-11 21:29:07 +02:00
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 cargo fmt 2019-06-21 16:47:34 +02:00
needless_continue_helpers.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
versioncheck.rs test(versioncheck): Use .no_deps() 2019-01-25 21:53:44 +01:00