rust/tests
bors 4abe815729 Auto merge of #9765 - koka831:feat/manual_is_ascii_check, r=xFrednet
Add `manual_is_ascii_check` lint

Addresses https://github.com/rust-lang/rust-clippy/issues/9290

This PR adds new lint `manual_is_ascii_check`, which detects comparison with ascii ranges using `matches!` macros.

As I mentioned as following in the Issue;
> Yes, that's true. we'll start small and then grow it.
> So I'll try to handle matches! macro with single range as suggested above.

However during writing first version, I was thinking that the changes to support alphabetic and digits will be small patch, so I made a single PR in hope review cost can be reduced.

changelog: add new lint [`manual_is_ascii_check`]

r? `@xFrednet`
2022-11-08 09:20:52 +00:00
..
test_utils
ui Auto merge of #9765 - koka831:feat/manual_is_ascii_check, r=xFrednet 2022-11-08 09:20:52 +00:00
ui-cargo [use_self] fix suggestion when full path to struct was given 2022-10-26 18:30:32 +02:00
ui-internal Fix adjacent code 2022-10-15 07:03:29 -04:00
ui-toml Add allow-print-in-tests config 2022-11-04 20:33:04 +03:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Fix adjacent code 2022-10-07 05:07:44 -04:00
dogfood.rs Add lintcheck to packages linted by dogfood test 2022-10-22 07:37:10 -04:00
integration.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
lint_message_convention.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
missing-test-files.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
versioncheck.rs Generate lint categories and explanations with declare_clippy_lint 2022-10-23 20:32:26 +00:00
workspace.rs