rust/compiler/rustc_trait_selection/src
Guillaume Gomez b1035d7f49
Rollup merge of #135498 - compiler-errors:dyn-upcasting-completeness, r=lcnr
Prefer lower `TraitUpcasting` candidates in selection

Fixes #135463. The underlying cause is this ambiguity, but it's more clear (and manifests as a coercion error, rather than a MIR validation error) when it's written the way I did in the UI test.

Sorry this is cursed r? lcnr
2025-01-15 16:30:17 +01:00
..
error_reporting Auto merge of #134353 - oli-obk:safe-target-feature-unsafe-by-default, r=wesleywiser 2025-01-15 12:06:56 +00:00
errors introduce LateParamRegionKind 2024-12-18 16:05:44 +01:00
solve Rollup merge of #135498 - compiler-errors:dyn-upcasting-completeness, r=lcnr 2025-01-15 16:30:17 +01:00
traits Rollup merge of #135498 - compiler-errors:dyn-upcasting-completeness, r=lcnr 2025-01-15 16:30:17 +01:00
errors.rs mir_transform: implement forced inlining 2025-01-10 18:37:54 +00:00
infer.rs Suggest Semicolon in Incorrect Repeat Expressions 2024-12-21 02:30:50 +00:00
lib.rs consistently handle global where-bounds 2024-12-17 08:50:47 +01:00
regions.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
solve.rs impossible obligations check fast path 2024-10-10 06:09:50 -04:00