rust/tests
bors 89aefb9c53 Auto merge of - compiler-errors:full-can_eq-everywhere, r=lcnr
Make `can_eq` process obligations (almost) everywhere

Move `can_eq` to an extension trait on `InferCtxt` in `rustc_trait_selection`, and change it so that it processes obligations. This should strengthen it to be more accurate in some cases, but is most important for the new trait solver which delays relating aliases to `AliasRelate` goals. Without this, we always basically just return true when passing aliases to `can_eq`, which can lead to weird errors, for example .

I'm not actually certain if we should *have* `can_eq` be called on the good path. In cases where we need `can_eq`, we probably should just be using a regular probe.

Fixes 

r? lcnr
2024-07-07 23:03:48 +00:00
..
assembly Always preserve user-written comments in assembly 2024-07-02 21:41:59 -04:00
auxiliary
codegen Use the aligned size for alloca at ret when the pass mode is cast. 2024-07-02 06:33:40 +08:00
codegen-units Avoid MIR bloat in inlining 2024-07-01 05:17:13 -07:00
coverage Rollup merge of - joboet:fmt_no_extern_ty, r=RalfJung 2024-06-28 08:34:08 +02:00
coverage-run-rustdoc
crashes Rollup merge of - gurry:127332-ice-with-expr-not-struct, r=oli-obk 2024-07-07 14:22:02 +02:00
debuginfo Add debuginfo tests for collapse_debuginfo for statics. 2024-06-13 16:04:31 +02:00
incremental Auto merge of - pacak:incr-uplorry, r=michaelwoerister 2024-06-20 09:06:16 +00:00
mir-opt Rollup merge of - compiler-errors:coroutine-closure-env-shim, r=oli-obk 2024-07-02 17:47:46 +02:00
pretty Auto merge of - oli-obk:const_block_ice, r=compiler-errors 2024-06-07 09:08:59 +00:00
run-make Auto merge of - Oneirical:put-on-a-petestal, r=jieyouxu 2024-07-07 01:05:25 +00:00
run-pass-valgrind rustfmt tests/run-pass-valgrind/. 2024-06-04 09:53:02 +10:00
rustdoc Migrate tests to use -Znext-solver 2024-06-30 17:08:45 +00:00
rustdoc-gui Don't call switch-theme function 2024-06-29 11:56:06 +02:00
rustdoc-js rustdoc-search: use lowercase, non-normalized name for type search 2024-06-09 11:56:52 -07:00
rustdoc-js-std Update tests 2024-06-07 11:55:52 +08:00
rustdoc-json rustdoc-json: Better representation of lifetime bounds in where clauses. 2024-07-03 20:00:56 +00:00
rustdoc-ui Rollup merge of - estebank:fix-suggestions, r=Urgau 2024-07-04 18:16:24 +02:00
ui Auto merge of - compiler-errors:full-can_eq-everywhere, r=lcnr 2024-07-07 23:03:48 +00:00
ui-fulldeps Rollup merge of - mu001999-contrib:dead/enhance-2, r=pnkfelix 2024-07-05 20:49:31 -04:00
COMPILER_TESTS.md