Files
rust/clippy_lints/src
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
..
2023-06-03 14:38:16 -05:00
2023-03-21 15:38:51 +00:00
2023-04-25 16:31:51 +00:00
2022-10-27 18:41:26 +04:00
2023-06-07 20:53:48 -07:00
2023-06-02 14:46:27 +02:00
2022-12-28 18:52:36 +01:00
2023-03-14 17:18:26 +00:00
2023-02-16 03:39:59 +00:00
2022-01-23 19:31:32 +08:00
2023-03-28 01:14:28 +00:00
2023-06-05 15:48:57 +02:00
2022-04-30 13:51:49 +02:00
2023-05-23 17:22:23 +02:00
2023-06-07 08:54:32 +02:00