Michael Goulet
efeed550c4
Remove BorrowKind glob, make names longer
2024-11-04 04:45:52 +00:00
Philipp Krones
fea5e77da1
Merge commit ' a109190d70' into clippy-subtree-update
2024-10-18 13:44:06 +02:00
Philipp Krones
b61fcbee76
Merge commit ' 7901289135' into clippy-subtree-update
2024-09-24 11:58:04 +02:00
GnomedDev
8fc9e67cf5
[Clippy] Swap float_equality_without_abs 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
Philipp Krones
4e6851e50b
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
Philipp Krones
c1fd25d0aa
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
Trevor Gross
8cde354f0b
Resolve Clippy f16 and f128 unimplemented!/FIXMEs
...
This removes the ICE codepaths for `f16` and `f128` in Clippy.
`rustc_apfloat` is used as a dependency for the parsing of these types,
since their `FromStr` implementation will not be available in the
standard library for a while.
2024-06-19 13:30:21 -04:00
Philipp Krones
3bff119f63
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
bors
51347ba3c7
Auto merge of #125764 - flip1995:clippy-subtree-update, r=Manishearth
...
Clippy subtree update
r? `@Manishearth`
2024-05-30 16:46:31 +00:00
Philipp Krones
f67f72695a
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
Oli Scherer
7f66e567b2
Don't require visit_body to take a lifetime that must outlive the function call
2024-05-29 10:04:08 +00:00
Michael Goulet
e65cefcf6f
Propagate errors rather than using return_if_err
2024-05-12 12:50:18 -04:00
Michael Goulet
db193c1c9d
Make LateCtxt be a type info delegate for EUV for clippy
2024-05-12 12:11:25 -04:00
Michael Goulet
dfc9c9132b
Inline MemCategorization into ExprUseVisitor
2024-05-12 11:52:13 -04:00
Michael Goulet
51145a20bf
Make builtin_deref just return a Ty
2024-05-09 22:55:00 -04:00
Philipp Krones
80c6f8ff7b
Merge commit ' 20b085d500' into clippy-subtree-update
2024-05-02 17:26:44 +02:00
Nicholas Nethercote
0aea3edb38
Avoid lots of hir::HirId{,Map,Set} qualifiers.
...
Because they're a bit redundant.
2024-04-16 16:29:15 +10:00
Philipp Krones
0ae4a048c6
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
Philipp Krones
7e83df4068
Merge commit ' 93f0a9a91f' into clippy-subtree-update
2024-03-07 17:19:29 +01:00
Philipp Krones
7be6e2178e
Merge commit ' 10136170fe' into clippy-subtree-update
2024-02-27 15:50:17 +01:00
Vadim Petrochenkov
fc8f6628ab
hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}
2024-02-10 12:24:46 +03:00
Philipp Krones
f3b3d23416
Merge commit ' 60cb29c5e4' into clippyup
2024-02-08 20:24:42 +01:00
Markus Reiter
a51fc2a80e
Fix NonZero clippy lints.
2024-01-27 16:38:57 +01:00
Philipp Krones
798865c593
Merge commit ' 66c29b973b' into clippy-subtree-update
2024-01-25 19:17:36 +01:00
Josh Stone
eb42f3e703
Pack the u128 in LitKind::Int
2024-01-19 20:10:39 -08:00
Philipp Krones
aa220c7ee7
Merge commit ' 26ac6aab02'
2024-01-11 17:27:03 +01:00
Philipp Krones
3596d44988
Merge commit ' a859e5cc1c' into clippyup
2023-12-16 14:12:50 +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
Philipp Krones
8e7d1678c4
Merge commit ' 2b030eb03d' into clippyup
2023-10-21 14:16:11 +02:00
Philipp Krones
8ebed4cc1a
Merge commit ' b105fb4c39' into clippyup
2023-10-06 17:35:45 +02:00
Jason Newcomb
9de3e6c928
Add more diagnostic items for clippy
2023-10-05 18:21:47 -04:00
Oli Scherer
238dc2828e
Prevent promotion of const fn calls in inline consts
2023-09-21 09:00:22 +00:00
Philipp Krones
471469d30f
Merge commit ' 98363cbf6a' into clippyup
2023-09-12 18:44:06 +02:00
Caio
b3136a874d
[clippy] Use symbols intended for arithmetic_side_effects
2023-09-01 10:28:55 +02:00
Philipp Krones
f730a2655a
Merge commit ' 1e8fdf4928' into clippyup
2023-08-11 14:05:13 +02:00
Philipp Krones
b0e64a9c09
Merge commit ' 5436dba826' into clippyup
2023-07-31 23:53:53 +02:00
Matthias Krüger
f54263af58
Rollup merge of #112655 - WaffleLapkin:must_use_map_or, r=workingjubilee
...
Mark `map_or` as `#[must_use]`
I don't know what else to say.
r? libs
2023-07-30 14:25:08 +02:00
Maybe Waffle
0c93e30956
Mark map_or as #[must_use]
2023-07-30 10:22:23 +00:00
Philipp Krones
d6d530fd0b
Merge commit ' d9c24d1b1e' into clippyup
2023-07-17 10:22:32 +02:00
Philipp Krones
cb3ecf7b79
Merge commit ' 37f4c1725d' into clippyup
2023-07-02 14:59:02 +02:00
Urgau
edb3266b91
Drop uplifted clippy:cmp_nan
2023-06-10 11:13:01 +02:00
Philipp Krones
b76b0aeb63
Merge commit ' 435a8ad86c' into clippyup
2023-05-20 15:39:26 +02:00
Philipp Krones
7e9abb311d
Merge commit ' 371120bdbf' into clippyup
2023-05-05 17:45:49 +02:00
Philipp Krones
a1b75c5108
Merge commit ' a3ed905928' into clippyup
2023-04-23 13:28:56 +02:00