rust/compiler/rustc_middle/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
..
dep_graph Reformat parameters to macros used by with-all-queries 2025-04-29 20:48:51 +10:00
hir Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
hooks Pretty print pattern type values with transmute if they don't satisfy their pattern 2025-02-05 14:56:41 +00:00
infer yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
middle Cleanup CodegenFnAttrFlags 2025-05-24 20:31:37 +02:00
mir Structurally normalize types as needed in projection_ty_core 2025-05-29 11:16:44 +00:00
query Refactor the two-phase check for impls and impl items 2025-05-27 22:03:21 +08:00
thir Add {ast,hir,thir}::PatKind::Missing variants. 2025-03-28 09:18:57 +11:00
traits Remove weak alias terminology 2025-04-24 11:59:20 +01:00
ty Auto merge of #141731 - compiler-errors:tweak-fast-path-trait, r=lcnr 2025-06-01 10:59:38 +00:00
util Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00
arena.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00
error.rs Teach structured errors to display short Ty 2025-02-25 16:56:03 +00:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
lint.rs Remove LintExpectationId from Level variants 2025-04-03 09:22:21 +00:00
macros.rs Fold visit into ty 2025-03-15 06:34:36 +00:00
metadata.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs
thir.rs Add useful comments on ExprKind::If variants. 2025-05-02 15:53:39 +10:00
values.rs Use search_for_cycle_permutation to look for variances_of 2025-04-27 09:38:18 +02:00