rust/tests/ui/async-await/in-trait
bors c5450191f3 Auto merge of #115759 - oli-obk:open_drop_from_non-ADT, r=lcnr
Reveal opaque types before drop elaboration

fixes https://github.com/rust-lang/rust/issues/113594

r? `@cjgillot`

cc `@JakobDegen`

This pass was introduced in https://github.com/rust-lang/rust/pull/110714

I moved it before drop elaboration (which only cares about the hidden types of things, not the opaque TAIT or RPIT type) and set it to run unconditionally (instead of depending on the optimization level and whether the inliner is active)
2023-09-29 11:59:51 +00:00
..
auxiliary Suggest desugaring to RPITIT when AFIT is required to be an auto trait 2023-09-21 19:18:14 +00:00
async-associated-types.rs Stabilize impl_trait_projections 2023-09-08 03:45:36 +00:00
async-default-fn-overridden.rs
async-example-desugared-boxed-in-trait.rs
async-example-desugared-boxed-in-trait.stderr
async-example-desugared-boxed.rs
async-example-desugared-boxed.stderr
async-example-desugared-extra.rs
async-example-desugared-in-trait.rs
async-example-desugared-manual.rs
async-example-desugared-manual.stderr
async-example-desugared.rs
async-example.rs
async-generics-and-bounds.rs
async-generics-and-bounds.stderr
async-generics.rs
async-generics.stderr
async-lifetimes-and-bounds.rs
async-lifetimes.rs
async-recursive-generic.rs
async-recursive-generic.stderr
async-recursive.rs
async-recursive.stderr
bad-signatures.rs
bad-signatures.stderr
dont-project-to-specializable-projection.rs
dont-project-to-specializable-projection.stderr
early-bound-1.rs
early-bound-2.rs
fn-not-async-err2.rs
fn-not-async-err2.stderr
fn-not-async-err.rs
fn-not-async-err.stderr
generics-mismatch.rs
generics-mismatch.stderr
implied-bounds.rs
indirect-recursion-issue-112047.rs Bless tests. 2023-09-23 13:47:30 +00:00
indirect-recursion-issue-112047.stderr Strip OpaqueCast during RevealAll. 2023-09-28 16:13:38 +00:00
issue-102138.rs
issue-102219.rs
issue-102310.rs
issue-104678.rs
lifetime-mismatch.rs
lifetime-mismatch.stderr
missing-feature-flag.rs
missing-feature-flag.stderr
missing-send-bound.rs
missing-send-bound.stderr Suggest desugaring to RPITIT when AFIT is required to be an auto trait 2023-09-21 19:18:14 +00:00
nested-rpit.rs
normalize-opaque-with-bound-vars.rs
object-safety.rs
object-safety.stderr
return-not-existing-pair.rs
return-not-existing-pair.stderr
return-not-existing-type-wrapping-rpitit.rs
return-not-existing-type-wrapping-rpitit.stderr
return-type-suggestion.rs
return-type-suggestion.stderr
send-on-async-fn-in-trait.fixed Suggest desugaring to RPITIT when AFIT is required to be an auto trait 2023-09-21 19:18:14 +00:00
send-on-async-fn-in-trait.rs Suggest desugaring to RPITIT when AFIT is required to be an auto trait 2023-09-21 19:18:14 +00:00
send-on-async-fn-in-trait.stderr Suggest desugaring to RPITIT when AFIT is required to be an auto trait 2023-09-21 19:18:14 +00:00
send-on-foreign-async-fn-in-trait.rs Suggest desugaring to RPITIT when AFIT is required to be an auto trait 2023-09-21 19:18:14 +00:00
send-on-foreign-async-fn-in-trait.stderr Suggest desugaring to RPITIT when AFIT is required to be an auto trait 2023-09-21 19:18:14 +00:00