rust/clippy_utils/src
bors a04a7cd9f9 Auto merge of #7779 - rust-lang:test_module, r=flip1995
make test module detection more strict

I started with some small improvements to clippy_utils/src/lib.rs, but then found that our "test" module detection would also catch words containing "test" like e.g. "attestation". So I made this a bit more strict (splitting by `'_'` and checking for `test` or `tests`), adding a test case as I went.

---

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: none
2021-10-07 09:36:51 +00:00
..
ast_utils Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
ast_utils.rs Merge commit 'cb7915b00c' into clippyup 2021-09-28 18:03:12 +01:00
attrs.rs Merge commit '61eb38aeda' into clippyup 2021-07-01 18:17:38 +02:00
camel_case.rs Merge commit '6ed6f1e6a1' into clippyup 2021-03-12 15:30:50 +01:00
comparisons.rs Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
consts.rs make unevaluated const substs optional 2021-08-26 11:00:30 +02:00
diagnostics.rs Merge commit '27afd6ade4' into clippyup 2021-09-08 16:31:47 +02:00
eager_or_lazy.rs Make diangostic item names consistent 2021-10-02 19:38:19 -05:00
higher.rs Merge commit 'cb7915b00c' into clippyup 2021-09-28 18:03:12 +01:00
hir_utils.rs Merge commit 'cb7915b00c' into clippyup 2021-09-28 18:03:12 +01:00
lib.rs Auto merge of #7779 - rust-lang:test_module, r=flip1995 2021-10-07 09:36:51 +00:00
msrvs.rs Merge commit '27afd6ade4' into clippyup 2021-09-08 16:31:47 +02:00
numeric_literal.rs Drop exponent suggestion when 0 2021-10-06 15:02:38 +08:00
paths.rs Allow invalid-paths for regex paths 2021-10-07 11:12:02 +02:00
ptr.rs Merge commit '61eb38aeda' into clippyup 2021-07-01 18:17:38 +02:00
qualify_min_const_fn.rs Rollup merge of #88963 - fee1-dead:const-iterator, r=oli-obk 2021-10-01 14:46:48 -07:00
source.rs Merge commit '7bfc26ec8e' into clippyup 2021-08-12 11:16:25 +02:00
sugg.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
sym_helper.rs Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
ty.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-10-07 11:11:23 +02:00
usage.rs Implement equatable if let lint 2021-10-04 22:16:42 +03:30
visitors.rs Merge commit '27afd6ade4' into clippyup 2021-09-08 16:31:47 +02:00