rust/tests
bors 9f0e5d963d Auto merge of #141681 - compiler-errors:fast-path-stalled, r=lcnr
Fast path for stalled obligations on self ty

If we see that the `self` type of a goal is an infer var, then don't try to compute the goal at all, since we know that it'll be forced ambiguous.

This is currently only implemented when there are no opaques in the environment. We could extend it to check that the self type is not related to any already defined opaques via subtyping, but I'll leave that as a follow-up.

---

Also stall coerce and subtype predicates if both of their vars are not resolved to concrete types.

---

~~Also, we don't care if the goal is higher-ranked for the sized and copy/clone fast path.~~ pulling this out into another PR.

r? lcnr
2025-06-06 15:20:21 +00:00
..
assembly Add compiler tests for xray 2025-05-26 00:39:23 +08:00
auxiliary stabilize naked_functions 2025-04-20 11:18:38 +02:00
codegen x86 (32/64): go back to passing SIMD vectors by-ptr 2025-06-04 08:38:49 +02:00
codegen-units Remove mono item collection strategy override from -Zprint-mono-items 2025-05-09 12:19:09 +02:00
coverage coverage: Revert "unused local file IDs" due to empty function names 2025-05-27 23:33:29 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes Rollup merge of #141932 - azhogin:azhogin/async-drop-inside-asyncgen-fix, r=oli-obk 2025-06-04 19:50:21 +02:00
debuginfo Rollup merge of #138285 - beetrees:repr128-stable, r=traviscross,bjorn3 2025-05-29 04:50:46 +02:00
incremental Add a test to reproduce ICE 2025-06-03 20:56:45 +00:00
mir-opt Auto merge of #139118 - scottmcm:slice-get-unchecked-intrinsic, r=workingjubilee 2025-05-31 21:38:21 +00:00
pretty Update generic tests 2025-05-21 07:24:43 +00:00
run-make Rollup merge of #141538 - folkertdev:systemv-x86_64-va_arg, r=workingjubilee 2025-05-30 07:01:30 +02:00
rustdoc Support middle::ty assoc const eq predicates again 2025-06-05 19:19:18 +02:00
rustdoc-gui Rollup merge of #139831 - lolbinarycat:rustdoc-mobile-sidebar, r=GuillaumeGomez 2025-05-25 04:00:55 +02:00
rustdoc-js yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json Stabilise repr128 2025-05-28 15:14:34 +01:00
rustdoc-ui Rollup merge of #141698 - oli-obk:ctfe-err-flip, r=RalfJung 2025-06-03 21:53:37 +02:00
ui Auto merge of #141681 - compiler-errors:fast-path-stalled, r=lcnr 2025-06-06 15:20:21 +00:00
ui-fulldeps remove visit_clobber and move DummyAstNode to rustc_expand 2025-05-29 12:46:26 +08:00
COMPILER_TESTS.md