Alex Macleod
13b4bb12ad
Clean up after if chain removal
2023-11-10 18:03:13 +00:00
Alex Macleod
9681b4afe0
Run if-to-let-chain clippy*/**/*.rs
...
https://github.com/Alexendoo/if-to-let-chain
2023-11-10 17:29:28 +00:00
Alex Macleod
7347c1803f
Set existing doc-tests to no_run
2023-10-23 15:28:26 +00:00
Jason Newcomb
9de3e6c928
Add more diagnostic items for clippy
2023-10-05 18:21:47 -04:00
Philipp Krones
cb3ecf7b79
Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup
2023-07-02 14:59:02 +02:00
Camille GILLOT
92c4f1e2d9
Take a LocalDefId in hir::Visitor::visit_fn.
2023-01-28 09:51:50 +00:00
Philipp Krones
d21616737b
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
2023-01-12 19:48:13 +01:00
Philipp Krones
4ccafea92d
Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup
2022-12-29 14:28:34 +01:00
Deadbeef
a09423f8c8
Rm diagnostic item, use lang item
2022-11-18 06:16:20 +00:00
flip1995
cd0bb7de01
Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup
2022-10-23 15:18:45 +02:00
Tomasz Miąsko
e4eddc611a
Replace Body::basic_blocks()
with field access
2022-08-26 14:27:08 +02:00
Tomasz Miąsko
cac25cde18
Move predecessors
from Body to BasicBlocks
2022-07-07 08:11:49 +02:00
Alan Egerton
490c773e66
Update TypeVisitor paths
2022-07-06 06:41:53 +01:00
Takayuki Maeda
f2d9acfc01
remove unnecessary to_string
and String::new
2022-06-13 15:48:40 +09:00
Philipp Krones
f067783461
Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup
2022-06-04 13:34:07 +02:00
Jakob Degen
0684d62b56
Refactor call terminator to always hold a destination place
2022-05-23 17:49:04 -04:00
xFrednet
4587b6628d
Merge 'rust-clippy/master' into clippyup
2022-05-21 13:24:00 +02:00
SparrowLii
d7a6654580
Change Successors
to impl Iterator<Item = BasicBlock>
2022-05-17 08:41:01 +08:00
flip1995
d1b087fdee
Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' into clippyup
2022-03-14 12:02:53 +01:00
lcnr
a4d6c61bdc
add #[rustc_pass_by_value]
to more types
2022-03-08 15:39:52 +01:00
flip1995
35020280a0
Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup
2022-02-26 14:26:21 +01:00
Cameron Steffen
94dd91524b
Format clippy
2022-01-16 16:02:36 -06:00
Ellen
377870a136
initial revert
2022-01-15 01:16:55 +00:00
flip1995
fb0142ae41
Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup
2022-01-13 13:18:19 +01:00
flip1995
8fea1d94f3
Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup
2021-12-06 12:33:31 +01:00
Amanieu d'Antras
c813bfa424
Add initial AST and MIR support for unwinding from inline assembly
2021-12-03 23:51:46 +01:00
Cameron Steffen
e165c12932
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
Camille GILLOT
06ae9e43d0
Move the dataflow framework to its own crate.
2021-09-07 19:57:07 +02:00
lcnr
19d1fe21c7
make unevaluated const substs optional
2021-08-26 11:00:30 +02:00
lcnr
4d627fc41b
require a tcx
for TypeVisitor
2021-08-26 10:54:01 +02:00
Caio
b97d4c062b
Introduce hir::ExprKind::Let - Take 2
2021-08-15 16:18:26 -03:00
flip1995
2b20f49841
Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup
2021-07-29 12:16:06 +02:00
flip1995
1d084b13a5
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
2021-07-15 10:44:10 +02:00
flip1995
ebe52869a3
Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup
2021-07-01 18:17:38 +02:00
flip1995
f6d1f368db
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
2021-04-08 17:50:13 +02:00
flip1995
9f6b5de7de
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
2021-03-25 19:29:11 +01:00
flip1995
f2f2a005b4
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
2021-03-12 15:30:50 +01:00
Oli Scherer
5b2e7e91c3
Shrink the size of Rvalue by 16 bytes
2021-03-05 09:33:01 +00:00
flip1995
f03edfd7a1
Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup
2020-12-20 17:19:49 +01:00
flip1995
d3d2018ead
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
2020-11-23 13:51:04 +01:00
LeSeulArtichaut
1b55cc79cc
Set the default BreakTy
to !
2020-11-14 21:46:39 +01:00
LeSeulArtichaut
cbb6b1c338
Introduce TypeVisitor::BreakTy
2020-11-14 20:25:27 +01:00
flip1995
34244190d4
Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup
2020-11-05 14:29:48 +01:00
LeSeulArtichaut
1c8c3d14ef
Remove implicit Continue
type
2020-10-30 12:27:47 +01:00
LeSeulArtichaut
4a06145ced
Use ControlFlow::is{break,continue}
2020-10-30 12:27:46 +01:00
LeSeulArtichaut
fa79cc4f6f
TypeVisitor: use ControlFlow
in clippy
2020-10-30 12:27:45 +01:00
Dylan MacKenzie
29d43f63bd
clippy: (Body, DefId)
-> Body
2020-10-04 16:07:03 -07:00
bors
6273be6fc2
Auto merge of #77144 - flip1995:clippyup, r=Manishearth
...
Update Clippy
Bi-weekly Clippy update.
This includes a `Cargo.lock` update (d445493479711389f4dea3a0f433041077ba2088), so probably needs `rollup=never`.
r? `@Manishearth`
2020-09-25 06:23:55 +00:00
flip1995
d1f9cad102
Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup
2020-09-24 14:49:22 +02:00
Dylan MacKenzie
72b402ed38
Add pass names to some common dataflow analyses
2020-09-14 17:56:39 -07:00