rust/tests
Guillaume Gomez bb582c6d0f
Rollup merge of #122123 - compiler-errors:object-trait-alias-bounds, r=oli-obk
Don't require specifying unrelated assoc types when trait alias is in `dyn` type

Object types must specify the associated types for all of the principal trait ref's supertraits. However, we weren't doing elaboration properly, so we incorrectly errored with erroneous suggestions to specify associated types that were unrelated to that principal trait ref. To fix this, use proper supertrait elaboration when expanding trait aliases in `conv_object_ty_poly_trait_ref`.

**NOTE**: Please use the ignore-whitespace option when reviewing. This only touches a handful of lines.

r? oli-obk or please feel free to reassign.

Fixes #122118
2024-03-07 15:07:09 +01:00
..
assembly Auto merge of #120468 - alexcrichton:start-wasm32-wasi-rename, r=wesleywiser 2024-03-04 18:55:14 +00:00
auxiliary
codegen compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
codegen-units
coverage
coverage-run-rustdoc
debuginfo Update debuginfo tests 2024-03-05 00:19:44 +00:00
incremental
mir-opt Rollup merge of #121716 - Nadrieril:simple-binding-order, r=matthewjasper 2024-03-02 20:13:23 +01:00
pretty
run-make Rollup merge of #121683 - fortanix:raoul/lvi_fixes, r=cuviper 2024-03-04 22:16:31 +01:00
run-make-fulldeps Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
run-pass-valgrind
rustdoc Update test names to not have dots 2024-03-05 09:02:33 +00:00
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
ui Rollup merge of #122123 - compiler-errors:object-trait-alias-bounds, r=oli-obk 2024-03-07 15:07:09 +01:00
ui-fulldeps Rewrite the untranslatable_diagnostic lint. 2024-03-06 14:19:01 +11:00
COMPILER_TESTS.md