rust/src/test
Guillaume Gomez 32502404e5
Rollup merge of #86506 - b-naber:gen_trait_impl_inconsistent, r=jackh726
Don't normalize xform_ret_ty during method candidate assembly

Fixes https://github.com/rust-lang/rust/issues/85671

Normalizing the return type of a method candidate together with the expected receiver type of the method can lead to valid method candidates being rejected during probing. Specifically in the example of the fixed issue we have a `self_ty` of the form `&A<&[Coef]>` whereas the `impl_ty` of the method would be `&A<_>`, if we normalize the projection in the return type we unify the inference variable with `Cont`, which will lead us to reject the candidate in the sup type check in `consider_probe`. Since we don't actually need the normalized return type during candidate assembly, we postpone the normalization until we consider candidates in `consider_probe`.
2021-10-08 22:30:38 +02:00
..
assembly Rollup merge of #83655 - sebpop:arm64-outline-atomics, r=workingjubilee 2021-10-04 13:58:06 -07:00
auxiliary
codegen fix: alloc-optimisation is only for rust llvm 2021-10-06 10:22:03 +01:00
codegen-units Support incremental in compiletest for non-incremental modes. 2021-09-23 12:16:51 -07:00
debuginfo Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
incremental Auto merge of #89619 - michaelwoerister:incr-vtables, r=nagisa 2021-10-08 09:04:06 +00:00
mir-opt opt-level >= 4 2021-10-06 20:37:24 +02:00
pretty Use ZST for fmt unsafety 2021-09-21 10:04:44 -05:00
run-make Rollup merge of #89025 - ricobbe:raw-dylib-link-ordinal, r=michaelwoerister 2021-10-07 20:26:11 -07:00
run-make-fulldeps Auto merge of #88880 - cjgillot:no-krate, r=oli-obk 2021-10-01 20:06:34 +00:00
run-pass-valgrind
rustdoc Rollup merge of #89596 - GuillaumeGomez:implicit-doc-cfg, r=jyn514 2021-10-07 16:24:53 +02:00
rustdoc-gui Add a test to detect overlapping entries in overview tables 2021-10-03 08:20:08 -04:00
rustdoc-js
rustdoc-js-std Fix linkcheck issues 2021-09-12 02:30:24 +00:00
rustdoc-json Rollup merge of #88234 - hkmatsumoto:rustdoc-impls-for-primitive, r=jyn514 2021-10-04 23:56:16 -07:00
rustdoc-ui Simplify AttributesExt::cfg function and remove error emissions since they are not useful 2021-10-06 21:22:56 +02:00
ui Rollup merge of #86506 - b-naber:gen_trait_impl_inconsistent, r=jackh726 2021-10-08 22:30:38 +02:00
ui-fulldeps Update ui-fulldeps. 2021-10-03 16:08:56 +02:00
COMPILER_TESTS.md