rust-clippy/tests
bors b7c330fc78 Auto merge of #10905 - y21:issue10684, r=Alexendoo
[`redundant_closure`]: special case inclusive ranges

Fixes #10684.

`x..=y` ranges need a bit of special handling in this lint because it desugars to a call to the lang item `RangeInclusiveNew`, where the callee span would be the same as the range expression itself, so the suggestion looked a bit weird. It now correctly suggests `RangeInclusive::new`.

changelog: [`redundant_closure`]: special case `RangeInclusive`
2023-06-08 12:15:35 +00:00
..
test_utils Move/rename lazy::Sync{OnceCell,Lazy} to sync::{Once,Lazy}Lock 2022-06-16 19:54:42 +04:00
ui Auto merge of #10905 - y21:issue10684, r=Alexendoo 2023-06-08 12:15:35 +00:00
ui-cargo Address Dependabot alerts 2023-05-24 22:08:43 +09:00
ui-internal refactor(test): Move attribute to lint level 2023-06-03 00:00:45 +05:30
ui-toml allow the lint in a bunch of tests 2023-06-06 22:56:57 +02:00
workspace_test Move workspace test 2022-01-10 17:08:22 -06:00
check-fmt.rs Fix adjacent code 2022-08-16 18:34:51 -04:00
clippy.toml Add clippy.toml to project and tests 2021-05-26 16:53:13 -05:00
compile-test.rs Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
dogfood.rs Fix dogfood test 2023-04-23 03:44:24 -07:00
headers.rs Add a test that checks for old style test headers 2023-04-23 14:20:55 +00:00
integration.rs Add cargo-clippy sysroot test 2023-01-12 18:32:47 +01:00
lint_message_convention.rs Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00
missing-test-files.rs a few more core lint fixes 2022-09-23 13:55:30 -04:00
versioncheck.rs Cleanup rustc_tool_util and add a convenient macro for build.rs 2022-11-21 23:28:26 +01:00
workspace.rs Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00