about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/tests/run/array.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-07 19:57:44 +0100
committerGitHub <noreply@github.com>2023-03-07 19:57:44 +0100
commit63635880f6fe27fc291c7542bc7df03018f694bb (patch)
treec20eef780a20955c94b19b925a6d71e14f826650 /compiler/rustc_codegen_gcc/tests/run/array.rs
parent23beda44ea14342f608abf6b3d67a703c1fe9e80 (diff)
parentb7e0ca993d0d1d15ed211ceec53ee4ffe526cb16 (diff)
downloadrust-63635880f6fe27fc291c7542bc7df03018f694bb.tar.gz
rust-63635880f6fe27fc291c7542bc7df03018f694bb.zip
Rollup merge of #108583 - compiler-errors:rpitit-default-method-with-nested-rpitits, r=spastorino
Account for binders correctly when adding default RPITIT method assumption

As of #108203, we install extra projection predicates into the param-env of a default trait method when it has return-position `impl Trait` (or is async).

The implementation didn't account for the fact that it's walking into and out of binders, so we just need to shift all the debruijn indices accordingly when constructing the projection predicates.

Fixes #108579

r? types
Diffstat (limited to 'compiler/rustc_codegen_gcc/tests/run/array.rs')
0 files changed, 0 insertions, 0 deletions