rust/compiler/rustc_trait_selection/src
Nicholas Nethercote 055a27da2a Remove some unnecessary clones.
I found these by grepping for `&[a-z_\.]*\.clone()`, i.e. expressions
like `&a.b.clone()`, which are sometimes unnecessary clones, and also
looking at clones nearby to cases like that.
2025-04-24 11:12:34 +10:00
..
error_reporting Rollup merge of #139091 - mejrs:format, r=compiler-errors 2025-04-19 15:09:33 +00:00
errors Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
solve Fix replacing supertrait aliases in ReplaceProjectionWith 2025-04-16 20:05:55 +00:00
traits Remove some unnecessary clones. 2025-04-24 11:12:34 +10:00
errors.rs Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
infer.rs Fix next solver handling of shallow trait impl check 2025-03-19 14:40:14 +00:00
lib.rs move check_opaque_type_parameter_valid 2025-04-03 11:13:10 +02:00
opaque_types.rs NonGenericOpaqueTypeParam::ty to arg 2025-04-11 15:18:30 +02:00
regions.rs Only use implied bounds hack if bevy, and use deeply normalize in implied bounds hack 2025-03-04 18:18:48 +00:00
solve.rs impossible obligations check fast path 2024-10-10 06:09:50 -04:00