rust/tests/ui/impl-trait/in-trait
Matthias Krüger f338a1f7ee
Rollup merge of #114301 - compiler-errors:dont-error-on-missing-region-outlives, r=spastorino
Don't check unnecessarily that impl trait is RPIT

We have this random `return_type_impl_trait` function to detect if a function returns an RPIT which is used in outlives suggestions, but removing it doesn't actually change any diagnostics. Let's just remove it.

Also, suppress a spurious outlives error from a ReError.

Fixes #114274
2023-08-02 06:22:48 +02:00
..
auxiliary Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
assumed-wf-bounds-in-impl.rs Implement assumed_wf_types for RPITITs' implementations 2023-07-29 21:19:33 +00:00
bad-item-bound-within-rpitit-2.rs Add additional test 2023-07-27 22:50:40 +00:00
bad-item-bound-within-rpitit-2.stderr Add additional test 2023-07-27 22:50:40 +00:00
bad-item-bound-within-rpitit.rs some nits, bless test 2023-07-29 21:29:03 +00:00
bad-item-bound-within-rpitit.stderr some nits, bless test 2023-07-29 21:29:03 +00:00
box-coerce-span-in-default.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
check-wf-on-non-defaulted-rpitit.rs Don't install default projection bound for RPITITs 2023-07-30 21:46:29 +00:00
check-wf-on-non-defaulted-rpitit.stderr Don't install default projection bound for RPITITs 2023-07-30 21:46:29 +00:00
deep-match-works.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
deep-match.current.stderr
deep-match.next.stderr
deep-match.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
deep-match.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
default-body-type-err-2.current.stderr
default-body-type-err-2.next.stderr
default-body-type-err-2.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
default-body-type-err-2.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
default-body-type-err.current.stderr
default-body-type-err.next.stderr
default-body-type-err.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
default-body-type-err.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
default-body-with-rpit.current.stderr
default-body-with-rpit.next.stderr
default-body-with-rpit.rs Remap explicit item bounds of RPITIT's opaque back to ty::Opaque 2023-07-30 20:31:27 +00:00
default-body.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
default-method-binder-shifting.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
default-method-constraint.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
doesnt-satisfy.current.stderr
doesnt-satisfy.next.stderr
doesnt-satisfy.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
doesnt-satisfy.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
dont-project-to-rpitit-with-no-value.current.stderr
dont-project-to-rpitit-with-no-value.next.stderr
dont-project-to-rpitit-with-no-value.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
dont-project-to-rpitit-with-no-value.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
early.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
encode.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
foreign-dyn-error.rs
foreign-dyn-error.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
foreign.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
generics-mismatch.current.stderr
generics-mismatch.next.stderr
generics-mismatch.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
generics-mismatch.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
issue-102140.current.stderr
issue-102140.next.stderr
issue-102140.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
issue-102140.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
issue-102301.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
issue-102571.current.stderr
issue-102571.next.stderr
issue-102571.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
issue-102571.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
method-signature-matches.lt.stderr
method-signature-matches.mismatch_async.stderr
method-signature-matches.mismatch.stderr
method-signature-matches.rs
method-signature-matches.too_few.stderr
method-signature-matches.too_many.stderr
missing-lt-outlives-in-rpitit-114274.rs Suppress unnecessary outlives 2023-08-01 17:16:47 +00:00
missing-lt-outlives-in-rpitit-114274.stderr Suppress unnecessary outlives 2023-08-01 17:16:47 +00:00
nested-rpitit.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
object-safety.current.stderr
object-safety.next.stderr
object-safety.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
object-safety.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
opaque-in-impl-is-opaque.current.stderr
opaque-in-impl-is-opaque.next.stderr
opaque-in-impl-is-opaque.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
opaque-in-impl-is-opaque.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
opaque-in-impl.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
return-dont-satisfy-bounds.current.stderr Add regression test for RPITITs 2023-07-07 15:58:25 -03:00
return-dont-satisfy-bounds.next.stderr Add regression test for RPITITs 2023-07-07 15:58:25 -03:00
return-dont-satisfy-bounds.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
return-dont-satisfy-bounds.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
reveal.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
rpitit-shadowed-by-missing-adt.rs Insert RPITITs that were shadowed by missing ADTs that resolve to type error 2023-07-27 22:32:58 +00:00
rpitit-shadowed-by-missing-adt.stderr Insert RPITITs that were shadowed by missing ADTs that resolve to type error 2023-07-27 22:32:58 +00:00
signature-mismatch.current.stderr
signature-mismatch.next.stderr
signature-mismatch.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
signature-mismatch.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
specialization-broken.current.stderr
specialization-broken.next.stderr
specialization-broken.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
specialization-broken.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
specialization-substs-remap.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
success.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
suggest-missing-item.fixed
suggest-missing-item.rs
suggest-missing-item.stderr
trait-more-generics-than-impl.current.stderr
trait-more-generics-than-impl.next.stderr
trait-more-generics-than-impl.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
trait-more-generics-than-impl.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
unconstrained-lt.current.stderr
unconstrained-lt.next.stderr
unconstrained-lt.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
unconstrained-lt.stderr Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
variances-of-gat.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
wf-bounds.current.stderr
wf-bounds.next.stderr
wf-bounds.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00
wf-bounds.stderr Take RPITITs inherit the assumed_wf_types of their parent fn 2023-07-29 21:19:33 +00:00
where-clause.rs Replace RPITIT current impl with new strategy that lowers as a GAT 2023-07-08 18:21:34 -03:00