rust/src/test
bors 397b66e77b Auto merge of #105285 - compiler-errors:conflicting-param-env-2, r=estebank
Highlight conflicting param-env candidates, again

Un-reverts #98794 (i.e. reverts #99290).

The previous time I attempted to land this PR, it was because of an incremental issue (#99233). The repro instructions in the issue is no longer manifest the ICE -- I think it's because this ambiguity code was refactored (I think by `@lcnr)` to no longer store the ambiguities in the fulfillment error, but instead recompute them on the fly.

The main motivation for trying to re-land this is that it fixes #105131 by highlighting the root-cause of the issue, which is conflicting param-env candidates:

```
error[E0283]: type annotations needed: cannot satisfy `Self: Gen<'source>`
   |
note: multiple `impl`s or `where` clauses satisfying `Self: Gen<'source>` found
  --> $DIR/conflicting-bounds.rs:3:1
   |
LL | pub trait Gen<'source> {
   | ^^^^^^^^^^^^^^^^^^^^^^
...
LL |         Self: for<'s> Gen<'s, Output = T>;
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0283`.
```

Fixes #105131.
Fixes (again) #98786
2022-12-15 11:11:49 +00:00
..
assembly Rollup merge of #105033 - durin42:llvm-16-dont-tail-call-me-bro, r=tmandry 2022-12-02 21:22:47 +01:00
auxiliary
codegen Rollup merge of #105578 - erikdesjardins:addrspacecast, r=bjorn3 2022-12-14 17:17:57 +01:00
codegen-units Statics used in reachable function's inline asm are reachable 2022-11-28 18:28:05 +01:00
debuginfo Fix pretty-std test 2022-11-27 23:15:55 +01:00
incremental Bless incremental tests 2022-12-08 17:28:21 +00:00
mir-opt Remove unneeded field from SwitchTargets 2022-12-09 04:53:10 -08:00
pretty Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726 2022-10-24 19:32:25 +09:00
run-make Rollup merge of #105385 - uweigand:s390x-test-lld, r=Mark-Simulacrum 2022-12-09 22:31:56 +01:00
run-make-fulldeps Use Symbol for the crate name instead of String/str 2022-12-07 20:30:02 +00:00
run-pass-valgrind Bless more tests 2022-11-05 18:05:45 +00:00
rustdoc rustdoc: stop treating everything in a trait item as a method 2022-12-12 12:49:29 -07:00
rustdoc-gui Rollup merge of #105676 - notriddle:notriddle/impl-docblock, r=GuillaumeGomez 2022-12-14 10:58:49 +01:00
rustdoc-js Add regression test for reexports in search results 2022-10-30 13:58:00 +01:00
rustdoc-js-std
rustdoc-json Add test for #105022 2022-12-02 17:05:37 +00:00
rustdoc-ui Auto merge of #105457 - GuillaumeGomez:prevent-auto-blanket-impl-retrieval, r=notriddle 2022-12-11 06:20:59 +00:00
ui Auto merge of #105285 - compiler-errors:conflicting-param-env-2, r=estebank 2022-12-15 11:11:49 +00:00
ui-fulldeps Auto merge of #105233 - mejrs:always_eager, r=estebank 2022-12-14 16:16:50 +00:00
COMPILER_TESTS.md