rust/tests/ui/coroutine
bors 7f4b270aa4 Auto merge of #129313 - RalfJung:coroutine-niches, r=compiler-errors
Supress niches in coroutines to avoid aliasing violations

As mentioned [here](https://github.com/rust-lang/rust/issues/63818#issuecomment-2264915918), using niches in fields of coroutines that are referenced by other fields is unsound: the discriminant accesses violate the aliasing requirements of the reference pointing to the relevant field. This issue causes [Miri errors in practice](https://github.com/rust-lang/miri/issues/3780).

The "obvious" fix for this is to suppress niches in coroutines. That's what this PR does. However, we have several tests explicitly ensuring that we *do* use niches in coroutines. So I see two options:
- We guard this behavior behind a `-Z` flag (that Miri will set by default). There is no known case of these aliasing violations causing miscompilations. But absence of evidence is not evidence of absence...
- (What this PR does right now.) We temporarily adjust the coroutine layout logic and the associated tests until the proper fix lands. The "proper fix" here is to wrap fields that other fields can point to in [`UnsafePinned`](https://github.com/rust-lang/rust/issues/125735) and make `UnsafePinned` suppress niches; that would then still permit using niches of *other* fields (those that never get borrowed). However, I know that coroutine sizes are already a problem, so I am not sure if this temporary size regression is acceptable.

`@compiler-errors` any opinion? Also who else should be Cc'd here?
2024-09-08 03:11:12 +00:00
..
auxiliary Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
print Create opaque definitions in resolver. 2024-08-31 20:14:43 +00:00
addassign-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +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 Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
async_gen_fn.rs Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
auto-trait-regions.stderr
borrow-in-tail-expr.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
borrowing.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
borrowing.stderr Modify find_expr from Span to better account for closures 2024-04-24 22:21:13 +00:00
break-inside-coroutine-issue-124495.rs fix: break inside async closure has incorrect span for enclosing closure 2024-06-05 19:22:50 +08:00
break-inside-coroutine-issue-124495.stderr Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
check-resume-ty-lifetimes-2.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
check-resume-ty-lifetimes-2.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
check-resume-ty-lifetimes.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
check-resume-ty-lifetimes.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
clone-impl-async.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
clone-impl-async.stderr Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
clone-impl-static.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
clone-impl-static.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
clone-impl.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
clone-impl.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
clone-rpit.next.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
clone-rpit.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
conditional-drop.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
control-flow.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coroutine-in-orphaned-anon-const.rs crash -> test 2024-04-15 22:21:50 -04:00
coroutine-in-orphaned-anon-const.stderr crash -> test 2024-04-15 22:21:50 -04:00
coroutine-region-requirements.migrate.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
coroutine-region-requirements.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coroutine-region-requirements.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coroutine-resume-after-panic.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coroutine-with-nll.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coroutine-with-nll.stderr Explain that coroutine can be marked static 2024-07-21 22:32:29 -04:00
coroutine-yielding-or-returning-itself.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coroutine-yielding-or-returning-itself.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
derived-drop-parent-expr.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
discriminant.rs bless ui tests 2024-08-20 18:33:25 +02:00
drop-and-replace.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-control-flow.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-env.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-track-addassign-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-tracking-parent-expression.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-tracking-parent-expression.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-tracking-yielding-in-match-guards.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-yield-twice.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
drop-yield-twice.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
dropck-resume.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
dropck-resume.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
dropck.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
dropck.stderr Modify find_expr from Span to better account for closures 2024-04-24 22:21:13 +00:00
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 Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
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 Tighten spans for async blocks 2024-06-27 15:19:08 -04: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 Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
gen_block_panic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
gen_block_panic.stderr Only run panic tests on targets that can unwind 2023-10-30 16:32:53 +00:00
gen_block.e2024.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
gen_block.none.stderr rustc_ast_lowering: make "yield syntax is experimental" translatable 2024-08-10 14:32:55 +03:00
gen_block.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +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 Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
gen_fn.rs Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
invalid_attr_usage.rs Add test for coroutine attribute 2024-08-03 02:28:59 +00:00
invalid_attr_usage.stderr Add test for coroutine attribute 2024-08-03 02:28:59 +00:00
issue-44197.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-45729-unsafe-in-coroutine.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-45729-unsafe-in-coroutine.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-48048.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-48048.stderr Explain that coroutine can be marked static 2024-07-21 22:32:29 -04:00
issue-52304.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-52398.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-52398.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-53548-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-53548.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-57017.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-57084.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-57084.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-57478.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-58888.rs Add must_use attribute to Coroutine trait 2024-08-12 19:27:57 -07:00
issue-61442-stmt-expr-with-drop.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +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 Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-64620-yield-array-element.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-68112.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-68112.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-69017.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-69039.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-87142.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-88653.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-88653.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-91477.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-91477.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-93161.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-102645.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-102645.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
issue-105084.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-105084.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-110929-coroutine-conflict-error-ice.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-113279.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-113279.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
iterator-count.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
layout-error.rs Require any function with a tait in its signature to actually constrain a hidden type 2024-06-12 08:53:59 +00:00
layout-error.stderr Require any function with a tait in its signature to actually constrain a hidden type 2024-06-12 08:53:59 +00:00
live-upvar-across-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
match-bindings.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
match-bindings.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
metadata-sufficient-for-layout.rs Require any function with a tait in its signature to actually constrain a hidden type 2024-06-12 08:53:59 +00:00
missing_coroutine_attr_suggestion.fixed Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
missing_coroutine_attr_suggestion.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
missing_coroutine_attr_suggestion.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
nested_coroutine.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
niche-in-coroutine.rs bless ui tests 2024-08-20 18:33:25 +02:00
non-static-is-unpin.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
not-send-sync.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
not-send-sync.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
overlap-locals.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
panic-drops-resume.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
panic-drops.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
panic-safe.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
parent-expression.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
parent-expression.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
partial-drop.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
partial-initialization-across-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
partial-initialization-across-yield.stderr
pattern-borrow.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
pattern-borrow.stderr Explain that coroutine can be marked static 2024-07-21 22:32:29 -04:00
pin-box-coroutine.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
polymorphize-args.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
reborrow-mut-upvar.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
reborrow-mut-upvar.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
ref-escapes-but-not-over-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
ref-escapes-but-not-over-yield.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
ref-upvar-not-send.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
ref-upvar-not-send.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
reinit-in-match-guard.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
resume-after-return.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
resume-arg-late-bound.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
resume-arg-late-bound.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
resume-arg-size.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
resume-live-across-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
retain-resume-ref.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
retain-resume-ref.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
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 Make sure all kinds of generators only return unit 2023-12-18 01:45:42 +00:00
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 Explain that coroutine can be marked static 2024-07-21 22:32:29 -04:00
size-moved-locals.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
sized-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
sized-yield.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
smoke-resume-args.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
smoke.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
static-coroutine.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
static-move-suggestion.fixed add ui tests for E0373 suggestion 2024-05-19 19:23:38 -05:00
static-move-suggestion.rs add ui tests for E0373 suggestion 2024-05-19 19:23:38 -05:00
static-move-suggestion.stderr add ui tests for E0373 suggestion 2024-05-19 19:23:38 -05:00
static-mut-reference-across-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
static-not-unpin.current.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
static-not-unpin.next.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
static-not-unpin.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
static-reference-across-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
too-live-local-in-immovable-gen.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
too-live-local-in-immovable-gen.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
too-many-parameters.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
too-many-parameters.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
type-mismatch-error.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
type-mismatch-error.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
type-mismatch-signature-deduction.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
type-mismatch-signature-deduction.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
uninhabited-field.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +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 Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unsized-capture-across-yield.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unsized-local-across-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unsized-local-across-yield.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
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 Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-args-rev.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-args.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-args.stderr Explain that coroutine can be marked static 2024-07-21 22:32:29 -04:00
yield-in-const.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-const.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-function.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-function.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-initializer.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-initializer.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-static.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-in-static.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-outside-coroutine-issue-78653.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-outside-coroutine-issue-78653.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-subtype.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-subtype.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-while-iterating.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-while-iterating.stderr Explain that coroutine can be marked static 2024-07-21 22:32:29 -04:00
yield-while-local-borrowed.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-while-local-borrowed.stderr Explain that coroutine can be marked static 2024-07-21 22:32:29 -04:00
yield-while-ref-reborrowed.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yield-while-ref-reborrowed.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
yielding-in-match-guards.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00