rust/tests/ui/async-await/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
..
async-associated-types2.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-associated-types.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-default-fn-overridden.current.stderr Install projection from RPITIT to default trait method opaque correctly 2023-03-16 01:56:49 +00:00
async-default-fn-overridden.next.stderr Install projection from RPITIT to default trait method opaque correctly 2023-03-16 01:56:49 +00:00
async-default-fn-overridden.rs Install projection from RPITIT to default trait method opaque correctly 2023-03-16 01:56:49 +00:00
async-example-desugared-boxed-in-trait.current.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-boxed-in-trait.next.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-boxed-in-trait.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-boxed.current.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-boxed.next.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-boxed.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-extra.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-in-trait.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-manual.current.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-manual.next.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared-manual.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example-desugared.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-example.rs
async-generics-and-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
async-generics-and-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
async-generics-and-bounds.rs Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
async-generics.current.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
async-generics.next.stderr Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
async-generics.rs Add revisions to fixed tests in -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-15 16:58:37 -03:00
async-lifetimes-and-bounds.rs
async-lifetimes.rs
async-recursive-generic.current.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-recursive-generic.next.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-recursive-generic.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-recursive.current.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-recursive.next.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
async-recursive.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
bad-signatures.current.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
bad-signatures.next.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
bad-signatures.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
dont-project-to-specializable-projection.rs Don't project specializable RPITIT projection 2023-02-23 02:12:51 +00:00
dont-project-to-specializable-projection.stderr Descriptive error when users try to combine RPITIT/AFIT with specialization 2023-02-28 02:03:43 +00:00
early-bound-1.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
early-bound-2.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
fn-not-async-err2.current.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
fn-not-async-err2.next.stderr Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
fn-not-async-err2.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
fn-not-async-err.rs
fn-not-async-err.stderr
generics-mismatch.current.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
generics-mismatch.next.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
generics-mismatch.rs Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
generics-mismatch.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
implied-bounds.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
issue-102138.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
issue-102219.rs Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty 2023-03-12 10:50:32 -03:00
issue-102310.rs Fix generics_of for impl's RPITIT synthesized associated type 2023-03-17 20:01:57 -03:00
issue-104678.rs
lifetime-mismatch.current.stderr Fix impl_trait_ty_to_ty substs 2023-03-17 16:28:00 -03:00
lifetime-mismatch.next.stderr Fix impl_trait_ty_to_ty substs 2023-03-17 16:28:00 -03:00
lifetime-mismatch.rs Fix impl_trait_ty_to_ty substs 2023-03-17 16:28:00 -03:00
missing-send-bound.rs
missing-send-bound.stderr
nested-rpit.rs Revert "Make nested RPITIT inherit the parent opaque's generics." and adjust test 2023-01-12 06:07:53 +00:00
object-safety.current.stderr Filter out RPITITs in object_safety_violations_for_trait 2023-03-12 10:51:19 -03:00
object-safety.next.stderr Filter out RPITITs in object_safety_violations_for_trait 2023-03-12 10:51:19 -03:00
object-safety.rs Filter out RPITITs in object_safety_violations_for_trait 2023-03-12 10:51:19 -03:00
return-type-suggestion.current.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
return-type-suggestion.next.stderr Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00
return-type-suggestion.rs Add revisions for -Zlower-impl-trait-in-trait-to-assoc-ty fixed tests 2023-03-17 16:01:53 -03:00