bors
3da21b089f
Auto merge of #11396 - y21:issue11345, r=Jarcho
...
new lint: `iter_out_of_bounds`
Closes #11345
The original idea in the linked issue seemed to be just about arrays afaict, but I extended this to catch some other iterator sources such as `iter::once` or `iter::empty`.
I'm not entirely sure if this name makes a lot of sense now that it's not just about arrays anymore (specifically, not sure if you can call `.take(1)` on an `iter::Empty` to be "out of bounds"?).
changelog: [`iter_out_of_bounds`]: new lint
2023-08-30 19:51:32 +00:00
Philipp Krones
e1ec41b217
Fix dogfood issues
2023-08-24 21:06:18 +02:00
y21
86b6644379
new lint: iter_out_of_bounds
2023-08-24 20:21:55 +02:00
unvalley
d5dbee4aa0
feat: update manual_retain to lint binary_heap_retain
...
refactor: rename variable
chore: reorder
test: update naming for msrv
2023-08-13 17:09:39 +09:00
Catherine
978b1daf99
New lint [filter_map_bool_then]
2023-07-25 17:42:36 -05:00
bors
70c5798993
Auto merge of #11198 - y21:issue10938, r=Centri3
...
[`slow_vector_initialization`]: catch `Vec::new()` followed by `.resize(len, 0)`
Closes #10938
changelog: [`slow_vector_initialization`]: catch `Vec::new()` followed by `.resize(len, 0)`
2023-07-25 17:23:01 +00:00
y21
c0484b74f7
simplify looking for Vec::with_capacity exprs
2023-07-25 18:56:57 +02:00
Catherine
a4c367d0e9
Allow Self::cmp(self, other) as a correct impl
2023-07-20 16:17:24 -05:00
Alex Macleod
f945351170
Fix regex lints for regex 1.9.0
2023-07-05 18:29:43 +00:00
bors
70c2d0cfe5
Auto merge of #106450 - albertlarsan68:fix-arc-ptr-eq, r=Amanieu
...
Make `{Arc,Rc,Weak}::ptr_eq` ignore pointer metadata
FCP completed in https://github.com/rust-lang/rust/issues/103763#issuecomment-1362267967
Closes #103763
2023-06-21 05:13:39 +00:00
Philipp Krones
e6dc0efc00
Merge commit ' 30448e8cf9' into clippyup
2023-06-02 11:41:57 +02:00
Philipp Krones
7e9abb311d
Merge commit ' 371120bdbf' into clippyup
2023-05-05 17:45:49 +02:00
Albert Larsan
9a61550e78
Make {Arc,Rc,Weak}::ptr_eq ignore pointer metadata
2023-04-26 15:27:32 +00:00
Philipp Krones
6b95029f17
Merge commit ' 83e42a2337' into clippyup
2023-04-11 15:31:08 +02:00
Philipp Krones
8df896c076
Merge commit ' d5e2a7aca5' into clippyup
2023-03-24 14:26:19 +01:00
Jason Newcomb
0413fb35ba
Merge commit ' 149392b0ba' into clippyup
2023-02-25 19:28:50 -05:00
Philipp Krones
d21616737b
Merge commit ' 7f27e2e74e' into clippyup
2023-01-12 19:48:13 +01:00
Philipp Krones
1c422524c7
Merge commit ' 4bdfb0741d' into clippyup
2022-12-17 14:12:54 +01:00
Philipp Krones
d05e2865a0
Merge commit ' d822110d3b' into clippyup
2022-12-01 18:29:38 +01:00
Philipp Krones
46c5a5d234
Merge commit ' f4850f7292' into clippyup
2022-11-21 20:51:52 +01:00
flip1995
cd0bb7de01
Merge commit ' 4f142aa105' into clippyup
2022-10-23 15:18:45 +02:00
Philipp Krones
d75b25faab
Merge commit ' ac0e10aa68' into clippyup
2022-10-06 09:44:38 +02:00
Markus Reiter
64a42db51a
Simplify clippy fix.
2022-09-12 19:46:51 +02:00
Jason Newcomb
fb41bfa774
Merge commit ' f51aade56f' into clippyup
2022-08-31 09:24:45 -04:00
Philipp Krones
dc29cfb8d5
Merge commit ' 2b2190cb56' into clippyup
2022-08-11 19:42:16 +02:00
Philipp Krones
7d4daaa8fa
Merge commit ' fdb84cbfd2' into clippyup
2022-07-18 09:39:37 +02:00
Philipp Krones
09f5df5087
Merge commit ' 0cb0f76368' into clippyup
2022-06-30 10:50:09 +02:00
Philipp Krones
f067783461
Merge commit ' d9ddce8a22' into clippyup
2022-06-04 13:34:07 +02:00
xFrednet
4587b6628d
Merge 'rust-clippy/master' into clippyup
2022-05-21 13:24:00 +02:00
flip1995
7cd86aa1be
Merge commit ' 7c21f91b15' into clippyup
2022-05-05 15:12:52 +01:00
Vadim Petrochenkov
6f825246f8
clippy: Update full path to CString
2022-04-15 16:52:58 +03:00
flip1995
71131351de
Merge commit ' 984330a6ee' into clippyup
2022-04-08 10:06:10 +01:00
flip1995
d1b087fdee
Merge commit ' dc5423ad44' into clippyup
2022-03-14 12:02:53 +01:00
flip1995
35020280a0
Merge commit ' e329249b6a' into clippyup
2022-02-26 14:26:21 +01:00
flip1995
fb0142ae41
Merge commit ' 97a5daa659' into clippyup
2022-01-13 13:18:19 +01:00
flip1995
8fea1d94f3
Merge commit ' a5d597637d' into clippyup
2021-12-06 12:33:31 +01:00
flip1995
7631fc5d82
Merge commit ' 91496c2ac6' into clippyup
2021-10-21 13:11:36 +02:00
Gary Guo
ebf4f03f7d
Remove begin_panic_fmt from clippy
2021-10-19 15:15:59 +01:00
flip1995
5cf4984872
Merge commit ' b7f3f7f608' into clippyup
2021-10-07 11:21:30 +02:00
Cameron Steffen
e165c12932
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
flip1995
23d5457e6d
Merge commit ' cb7915b00c' into clippyup
2021-09-28 18:03:12 +01:00
Guillaume Gomez
d37f1091e8
Update permissions path for clippy lint
2021-09-13 21:27:53 +02:00
flip1995
091ed44b50
Merge commit ' 27afd6ade4' into clippyup
2021-09-08 16:31:47 +02:00
flip1995
2b20f49841
Merge commit ' 0cce3f643b' into clippyup
2021-07-29 12:16:06 +02:00
flip1995
1d084b13a5
Merge commit ' 54a20a02ec' into clippyup
2021-07-15 10:44:10 +02:00
Felix S. Klock II
b95e1f7b3d
Revert clippy's path to the copy intrinsics (part of reverting PR 81238).
2021-06-04 16:44:28 -04:00
flip1995
d605882023
Merge commit ' b71f340560' into clippyup
2021-05-06 12:20:44 +02:00
Christiaan Dirkx
ee6d1a35ba
Change std::sys::unix::ext::fs::PermissionsExt::from_mode to std::os: 👿 :unix::fs::PermissionsExt::from_mode in Clippy
2021-05-03 16:56:22 +02:00
flip1995
02bf692169
Merge commit ' 98e2b9f25b' into clippyup
2021-04-22 11:31:13 +02:00
flip1995
f6d1f368db
Merge commit ' b40ea209e7' into clippyup
2021-04-08 17:50:13 +02:00