rust/tests/ui/impl-trait/in-trait
Matthias Krüger d86fd83ef6
Rollup merge of #109277 - spastorino:new-rpitit-14, r=compiler-errors
Fix generics_of for impl's RPITIT synthesized associated type

The only useful commit is the last one.

This makes `generics_of` for the impl side RPITIT copy from the trait's associated type and avoid the fn on the impl side which was previously wrongly used.
This solution is better but we still need to fix resolution of the generated generics.

r? ``@compiler-errors``
2023-03-20 09:46:53 +01:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
box-coerce-span-in-default.current.stderr Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
box-coerce-span-in-default.next.stderr Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
box-coerce-span-in-default.rs Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
deep-match-works.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
deep-match.current.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
deep-match.next.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
deep-match.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
default-body-type-err-2.current.stderr Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
default-body-type-err-2.next.stderr Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
default-body-type-err-2.rs Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
default-body-type-err.current.stderr Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
default-body-type-err.next.stderr Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
default-body-type-err.rs Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
default-body-with-rpit.current.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
default-body-with-rpit.next.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
default-body-with-rpit.rs Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
default-body.rs Don't install default opaque projection predicates in RPITIT associated type's param-env 2023-03-16 01:59:41 +00:00
default-method-binder-shifting.current.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
default-method-binder-shifting.next.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
default-method-binder-shifting.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
default-method-constraint.current.stderr Install projection from RPITIT to default trait method opaque correctly 2023-03-16 01:56:49 +00:00
default-method-constraint.next.stderr Install projection from RPITIT to default trait method opaque correctly 2023-03-16 01:56:49 +00:00
default-method-constraint.rs Install projection from RPITIT to default trait method opaque correctly 2023-03-16 01:56:49 +00:00
doesnt-satisfy.current.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
doesnt-satisfy.next.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
doesnt-satisfy.rs Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
dont-project-to-rpitit-with-no-value.rs Don't project to RPITIT that has no default value 2023-03-04 18:36:02 +00:00
dont-project-to-rpitit-with-no-value.stderr Don't project to RPITIT that has no default value 2023-03-04 18:36:02 +00:00
early.rs Fix generics_of for impl's RPITIT synthesized associated type 2023-03-17 20:01:57 -03:00
encode.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
foreign.rs Make fns from other crates with RPITIT work 2023-03-14 10:20:35 -03:00
generics-mismatch.current.stderr Fix generics mismatch errors for RPITITs on -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-17 15:36:02 -03:00
generics-mismatch.next.stderr Fix generics mismatch errors for RPITITs on -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-17 15:36:02 -03:00
generics-mismatch.rs Fix generics mismatch errors for RPITITs on -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-17 15:36:02 -03:00
issue-102140.current.stderr Filter out RPITITs in astconv when checking for missing associated types 2023-03-12 10:51:19 -03:00
issue-102140.next.stderr Filter out RPITITs in astconv when checking for missing associated types 2023-03-12 10:51:19 -03:00
issue-102140.rs Filter out RPITITs in astconv when checking for missing associated types 2023-03-12 10:51:19 -03:00
issue-102301.rs Fix generics_of for impl's RPITIT synthesized associated type 2023-03-17 20:01:57 -03:00
issue-102571.current.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
issue-102571.next.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
issue-102571.rs Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
method-signature-matches.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method-signature-matches.stderr Remove confusing 'while checking' note from opaque future type mismatches 2023-01-22 17:02:47 +00:00
nested-rpitit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-safety.current.stderr Fix object safety checks for new RPITITs 2023-03-12 10:51:20 -03:00
object-safety.next.stderr Fix object safety checks for new RPITITs 2023-03-12 10:51:20 -03:00
object-safety.rs Fix object safety checks for new RPITITs 2023-03-12 10:51:20 -03:00
opaque-in-impl-is-opaque.current.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
opaque-in-impl-is-opaque.next.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
opaque-in-impl-is-opaque.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
opaque-in-impl.rs Fix generics_of for impl's RPITIT synthesized associated type 2023-03-17 20:01:57 -03:00
reveal.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
signature-mismatch.current.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
signature-mismatch.next.stderr Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
signature-mismatch.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
specialization-broken.current.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
specialization-broken.next.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
specialization-broken.rs Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
specialization-substs-remap.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
success.rs Run existing impl trait in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
trait-more-generics-than-impl.current.stderr Fix impl_trait_ty_to_ty substs 2023-03-17 16:28:00 -03:00
trait-more-generics-than-impl.next.stderr Fix impl_trait_ty_to_ty substs 2023-03-17 16:28:00 -03:00
trait-more-generics-than-impl.rs Fix impl_trait_ty_to_ty substs 2023-03-17 16:28:00 -03:00
wf-bounds.current.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
wf-bounds.next.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
wf-bounds.rs Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
where-clause.rs Fix generics_of for impl's RPITIT synthesized associated type 2023-03-17 20:01:57 -03:00