rust/compiler/rustc_trait_selection/src
bors 9b0268a43b Auto merge of #141731 - compiler-errors:tweak-fast-path-trait, r=lcnr
Tweak fast path trait handling

(1.) Make it more sound by considering polarity (lol)

(2.) Make it more general, by considering higher-ranked size/copy/clone

(2.) Make it less observable, by only doing copy/clone fast path if there are no regions involved

r? lcnr
2025-06-01 10:59:38 +00:00
..
error_reporting Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
errors Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
solve Tweak fast path trait handling 2025-05-29 11:14:36 +00:00
traits Rename unpack to kind 2025-05-27 11:14:45 +00:00
errors.rs do away with _Self and TraitName and check generic params for rustc_on_unimplemented 2025-05-17 15:15:53 +02:00
infer.rs Consider Copy/Clone too 2025-04-22 17:05:15 +00:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
opaque_types.rs Rename unpack to kind 2025-05-27 11:14:45 +00: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 confusings 2025-04-29 18:55:21 +01:00