Philipp Krones
3ab1da8bab
Formatting
2024-09-22 20:52:15 +02:00
GnomedDev
1922a99bc6
[Clippy] Swap redundant_clone to use diagnostic items instead of paths
2024-09-19 13:13:20 +01:00
Jason Newcomb
173d5a6af0
Merge commit ' 0f8eabd623' into clippyup
2024-08-24 18:33:44 -04:00
Philipp Krones
1ac76a2062
Merge commit ' cb806113e0' into clippy-subtree-update
2024-08-08 19:13:50 +02:00
Martin Nordholts
6a74a0e17b
compiler: Lower fn call arg spans down to MIR
...
To enable improved accuracy of diagnostics in upcoming commits.
2024-01-15 19:07:11 +01:00
Philipp Krones
c9a43b18f1
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
Philipp Krones
6246f0446a
Merge commit ' edb720b199' into clippyup
2023-11-16 19:13:24 +01:00
bors
2d9af160af
Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb
...
`rustc_span` cleanups
Just some things I found while looking over this crate.
r? `@oli-obk`
2023-11-03 14:57:40 +00:00
Philipp Krones
77c1e3aaa1
Merge commit ' 09ac14c901' into clippyup
2023-11-02 17:35:56 +01:00
Nicholas Nethercote
e1ec2d5cc9
Minimize pub usage in source_map.rs.
...
Most notably, this commit changes the `pub use crate::*;` in that file
to `use crate::*;`. This requires a lot of `use` items in other crates
to be adjusted, because everything defined within `rustc_span::*` was
also available via `rustc_span::source_map::*`, which is bizarre.
The commit also removes `SourceMap::span_to_relative_line_string`, which
is unused.
2023-11-02 19:35:00 +11:00
Jason Newcomb
9de3e6c928
Add more diagnostic items for clippy
2023-10-05 18:21:47 -04:00
Philipp Krones
cb3ecf7b79
Merge commit ' 37f4c1725d' 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 ' 7f27e2e74e' into clippyup
2023-01-12 19:48:13 +01:00
Philipp Krones
4ccafea92d
Merge commit ' 4f3ab69ea0' 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 ' 4f142aa105' 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 ' d9ddce8a22' 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 ' dc5423ad44' 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 ' e329249b6a' 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 ' 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
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 ' 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
flip1995
ebe52869a3
Merge commit ' 61eb38aeda' into clippyup
2021-07-01 18:17:38 +02:00
flip1995
f6d1f368db
Merge commit ' b40ea209e7' into clippyup
2021-04-08 17:50:13 +02:00
flip1995
9f6b5de7de
Merge commit ' 0e87918536' into clippyup
2021-03-25 19:29:11 +01:00
flip1995
f2f2a005b4
Merge commit ' 6ed6f1e6a1' 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 ' 4911ab124c' into clippyup
2020-12-20 17:19:49 +01:00
flip1995
d3d2018ead
Merge commit ' 3e7c6dec24' 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 ' b20d4c155d' into clippyup
2020-11-05 14:29:48 +01:00