Philipp Krones
f2b7e9ff52
Merge remote-tracking branch 'upstream/master' into rustup
2025-08-07 16:47:42 +02:00
Cameron Steffen
86ff11e729
Rename impl_of_method -> impl_of_assoc
2025-07-28 09:54:53 -05:00
Philipp Krones
7debaf6b44
Merge commit ' cadf98bb7d' into clippy-subtree-update
2025-05-21 15:15:38 +02:00
Samuel Moelius
8c6eea85a1
Extend implicit_clone to handle to_string calls
2025-05-19 19:29:04 -04:00
Samuel Tardieu
e16801e68c
Use symbols instead of &str when possible
2025-05-19 22:47:57 +02:00
Philipp Krones
1ac76a2062
Merge commit ' cb806113e0' into clippy-subtree-update
2024-08-08 19:13:50 +02:00
Lzu Tao
a5fd2c98bd
Remove duplicated peel_middle_ty_refs
...
TODO: Should we move `ty::peel_mid_ty_refs_is_mutable` to super module too?
2024-07-17 12:51:08 +07:00
y21
91f514cc83
fix fallout from previous commit
2024-04-01 15:04:45 +02:00
Philipp Krones
0ae4a048c6
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
Philipp Krones
6246f0446a
Merge commit ' edb720b199' into clippyup
2023-11-16 19:13:24 +01:00
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
Philipp Krones
cc61aeea54
Merge commit ' 080b587854' into clippyup
2023-08-24 21:32:12 +02:00
J-ZhengLi
aa8995e589
allow calling to_owned with borrowed value for [implicit_clone]
2023-08-15 09:41:15 +08:00
Mahdi Dibaiee
fdb2e363d3
refactor(rustc_middle): Substs -> GenericArg
2023-07-14 13:27:35 +01:00
Jason Newcomb
0413fb35ba
Merge commit ' 149392b0ba' into clippyup
2023-02-25 19:28:50 -05:00
Kyle Matsuda
98c4a49db8
remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata
2023-02-16 17:05:56 -07:00
Kyle Matsuda
f0565c939e
change usages of type_of to bound_type_of
2023-02-16 17:01:52 -07:00
Kyle Matsuda
b92d90211e
change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata
2023-01-14 00:29:56 -07:00
Kyle Matsuda
a160ce3a48
change usages of impl_trait_ref to bound_impl_trait_ref
2023-01-14 00:23:32 -07:00
Philipp Krones
1c422524c7
Merge commit ' 4bdfb0741d' into clippyup
2022-12-17 14:12:54 +01:00
Philipp Krones
d75b25faab
Merge commit ' ac0e10aa68' into clippyup
2022-10-06 09:44:38 +02:00
flip1995
71131351de
Merge commit ' 984330a6ee' into clippyup
2022-04-08 10:06:10 +01:00
lcnr
148b593954
get clippy to compile again
2022-03-30 11:23:58 +02:00
Nicholas Nethercote
e110231260
Improve AdtDef interning.
...
This commit makes `AdtDef` use `Interned`. Much the commit is tedious
changes to introduce getter functions. The interesting changes are in
`compiler/rustc_middle/src/ty/adt.rs`.
2022-03-11 13:31:24 +11:00
lcnr
99af4c8971
remove TyS::same_type
...
it ignored regions and constants in adts,
but didn't do so for references or any other types.
This seemed quite weird
2022-02-01 11:21:26 +01:00
flip1995
ddad101b8a
Merge commit ' 8d14c94b5c' into clippyup
2022-01-17 13:29:07 +01:00
flip1995
ece0946d7f
Merge commit ' 23d11428de' into clippyup
2021-12-17 13:40:22 +01: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
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