rust/tests/ui/coroutine
bors 13dac8fb73 Auto merge of #122721 - oli-obk:merge_queries, r=davidtwco
Replace `mir_built` query with a hook and use mir_const everywhere instead

A small perf improvement due to less dep graph handling.

Mostly just a cleanup to get rid of one of our many mir queries
2024-03-25 01:33:46 +00:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
print Remove redundant coroutine captures note 2024-03-19 12:02:21 -04:00
addassign-yield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
async_gen_fn_iter.rs Add Future and IntoFuture to the 2024 prelude 2024-02-18 23:20:05 +01:00
async_gen_fn.e2024.stderr Bless tests 2024-01-13 12:46:58 -05:00
async_gen_fn.none.stderr
async_gen_fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
async-coroutine-issue-67158.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
async-coroutine-issue-67158.stderr
async-gen-deduce-yield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
async-gen-yield-ty-is-unit.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
auto-trait-regions.rs
auto-trait-regions.stderr
borrow-in-tail-expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
borrowing.rs
borrowing.stderr
check-resume-ty-lifetimes-2.rs
check-resume-ty-lifetimes-2.stderr
check-resume-ty-lifetimes.rs
check-resume-ty-lifetimes.stderr
clone-impl-async.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
clone-impl-async.stderr
clone-impl-static.rs
clone-impl-static.stderr
clone-impl.rs
clone-impl.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
clone-rpit.next.stderr Update documentation 2024-03-20 09:49:57 +00:00
clone-rpit.rs Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
conditional-drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
control-flow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coroutine-region-requirements.migrate.stderr
coroutine-region-requirements.rs
coroutine-region-requirements.stderr
coroutine-resume-after-panic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coroutine-with-nll.rs
coroutine-with-nll.stderr
coroutine-yielding-or-returning-itself.rs
coroutine-yielding-or-returning-itself.stderr
derived-drop-parent-expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
discriminant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
drop-and-replace.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
drop-control-flow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
drop-env.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
drop-track-addassign-yield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
drop-tracking-parent-expression.rs
drop-tracking-parent-expression.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
drop-tracking-yielding-in-match-guards.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
drop-yield-twice.rs
drop-yield-twice.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
dropck-resume.rs
dropck-resume.stderr
dropck.rs
dropck.stderr
gen_block_is_coro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_is_coro.stderr
gen_block_is_fused_iter.rs Implement FusedIterator for gen block 2024-03-22 02:02:34 +09:00
gen_block_is_iter.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_is_no_future.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_is_no_future.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
gen_block_iterate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_move.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_move.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_move.stderr
gen_block_panic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_panic.stderr
gen_block.e2024.stderr Bless tests 2024-01-13 12:46:58 -05:00
gen_block.none.stderr Bless tests 2024-01-13 12:46:58 -05:00
gen_block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_fn_iter.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_fn_lifetime_capture.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_fn.e2024.stderr Bless tests 2024-01-13 12:46:58 -05:00
gen_fn.none.stderr
gen_fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-44197.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-45729-unsafe-in-coroutine.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-45729-unsafe-in-coroutine.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
issue-48048.rs
issue-48048.stderr
issue-52304.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-52398.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-52398.stderr
issue-53548-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-53548.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-57017.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-57084.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-57084.stderr
issue-57478.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-58888.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-61442-stmt-expr-with-drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-62506-two_awaits.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-64620-yield-array-element.rs
issue-64620-yield-array-element.stderr
issue-68112.rs Remove redundant coroutine captures note 2024-03-19 12:02:21 -04:00
issue-68112.stderr Remove redundant coroutine captures note 2024-03-19 12:02:21 -04:00
issue-69017.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-69039.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-87142.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88653.rs
issue-88653.stderr
issue-91477.rs
issue-91477.stderr
issue-93161.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102645.rs
issue-102645.stderr
issue-105084.rs
issue-105084.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-110929-coroutine-conflict-error-ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-113279.rs
issue-113279.stderr
iterator-count.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
layout-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
layout-error.stderr
live-upvar-across-yield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-bindings.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-bindings.stderr
metadata-sufficient-for-layout.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
metadata-sufficient-for-layout.stderr
nested_coroutine.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
niche-in-coroutine.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-static-is-unpin.rs Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
not-send-sync.rs
not-send-sync.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
overlap-locals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-drops-resume.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-drops.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-safe.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
parent-expression.rs
parent-expression.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
partial-drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
partial-initialization-across-yield.rs
partial-initialization-across-yield.stderr
pattern-borrow.rs
pattern-borrow.stderr
pin-box-coroutine.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
polymorphize-args.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reborrow-mut-upvar.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reborrow-mut-upvar.stderr
ref-escapes-but-not-over-yield.rs
ref-escapes-but-not-over-yield.stderr
ref-upvar-not-send.rs
ref-upvar-not-send.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
reinit-in-match-guard.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resume-after-return.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resume-arg-late-bound.rs eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
resume-arg-late-bound.stderr eagerly instantiate binders to avoid relying on sub 2024-03-14 17:19:40 +01:00
resume-arg-size.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resume-live-across-yield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
retain-resume-ref.rs
retain-resume-ref.stderr
return-types-diverge.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
return-types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
return-types.stderr
self_referential_gen_block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
self_referential_gen_block.stderr
size-moved-locals.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
sized-yield.rs
sized-yield.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
smoke-resume-args.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
smoke.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
static-coroutine.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
static-mut-reference-across-yield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
static-not-unpin.current.stderr Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
static-not-unpin.next.stderr Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
static-not-unpin.rs Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
static-reference-across-yield.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
too-live-local-in-immovable-gen.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
too-live-local-in-immovable-gen.stderr
too-many-parameters.rs
too-many-parameters.stderr
type-mismatch-error.rs
type-mismatch-error.stderr
type-mismatch-signature-deduction.rs
type-mismatch-signature-deduction.stderr
uninhabited-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unresolved-ct-var.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unresolved-ct-var.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
unsized-capture-across-yield.rs
unsized-capture-across-yield.stderr
unsized-local-across-yield.rs
unsized-local-across-yield.stderr
unwind-abort-mix.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
witness-ignore-fake-reads.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
xcrate-reachable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
xcrate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yield-in-args-rev.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yield-in-args-rev.stderr
yield-in-args.rs
yield-in-args.stderr
yield-in-const.rs
yield-in-const.stderr
yield-in-function.rs
yield-in-function.stderr
yield-in-initializer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yield-in-initializer.stderr
yield-in-static.rs
yield-in-static.stderr
yield-outside-coroutine-issue-78653.rs
yield-outside-coroutine-issue-78653.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
yield-subtype.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yield-subtype.stderr
yield-while-iterating.rs
yield-while-iterating.stderr
yield-while-local-borrowed.rs
yield-while-local-borrowed.stderr
yield-while-ref-reborrowed.rs
yield-while-ref-reborrowed.stderr
yielding-in-match-guards.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00