rust/tests/ui/coroutine
bors 6afee111c2 Auto merge of #133858 - dianne:better-blame-constraints-for-static, r=lcnr
`best_blame_constraint`: Blame better constraints when the region graph has cycles from invariance or `'static`

This fixes #132749 by changing which constraint is blamed for region errors in several cases. `best_blame_constraint` had a heuristic that tried to pinpoint the constraint causing an error by filtering out any constraints where the outliving region is unified with the ultimate target region being outlived. However, it used the SCCs of the region graph to do this, which is unreliable; in particular, if the target region is `'static`, or if there are cycles from the presence of invariant types, it was skipping over the constraints it should be blaming. As is the case in that issue, this could lead to confusing diagnostics. The simplest fix seems to work decently, judging by test stderr: this makes `best_blame_constraint` no longer filter constraints by their outliving region's SCC.

There are admittedly some quirks in the test output. In many cases, subdiagnostics that depend on the particular constraint being blamed have either started or stopped being emitted. After starting at this for quite a while, I think anything too fickle about whether it outputs based on the particular constraint being blamed should instead be looking at the constraint path as a whole, similar to what's done for [the placeholder-from-predicate note](https://github.com/rust-lang/rust/compare/master...dianne:rust:better-blame-constraints-for-static#diff-3c0de6462469af483c9ecdf2c4b00cb26192218ef2d5c62a0fde75107a74caaeR506).

Very many tests involving invariant types gained a note pointing out the types' invariance, but in a few cases it was lost. A particularly illustrative example is [tests/ui/lifetimes/copy_modulo_regions.stderr](https://github.com/rust-lang/rust/compare/master...dianne:rust:better-blame-constraints-for-static?expand=1#diff-96e1f8b29789b3c4ce2f77a5e0fba248829b97ef9d1ce39e7d2b4aa57b2cf4f0); I'd argue the new constraint is a better one to blame, but it lacks the variance diagnostic information that's elsewhere in the constraint path. If desired, I can try making that note check the whole path rather than just the blamed constraint.

The subdiagnostic [`BorrowExplanation::add_object_lifetime_default_note`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_borrowck/diagnostics/explain_borrow/enum.BorrowExplanation.html#method.add_object_lifetime_default_note) depends on a `Cast` being blamed, so [a special case](https://github.com/rust-lang/rust/pull/133858/commits/364ca7f99c12fb5220e6b568ac391979317ce878) was necessary to keep it from disappearing from tests specifically testing for it. However, see the FIXME comment in that commit; I think the special case should be removed once that subdiagnostic works properly, but it's nontrivial enough to warrant a separate PR. Incidentally, this removes the note from a test where it was being added erroneously: in [tests/ui/borrowck/two-phase-surprise-no-conflict.stderr](https://github.com/rust-lang/rust/compare/master...dianne:rust:better-blame-constraints-for-static?expand=1#diff-8cf085af8203677de6575a45458c9e6b03412a927df879412adec7e4f7ff5e14), the object lifetime is explicitly provided and it's not `'static`.
2025-01-08 12:37:54 +00:00
..
auxiliary Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
print Actually print all the relevant parts of a coroutine in verbose mode 2024-12-25 01:08:59 +00:00
addassign-yield.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
arg-count-mismatch-on-unit-input.rs Fixed diagnostics for coroutines with () as input. 2024-09-25 08:45:40 +00:00
arg-count-mismatch-on-unit-input.stderr Point at tail expression on rpit E0277 2024-11-02 03:08:04 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
async-gen-deduce-yield.rs Update more 2024 tests to remove -Zunstable-options 2024-11-28 14:32:45 -08:00
async-gen-yield-ty-is-unit.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00
async_gen_fn.e2024.stderr Bless tests 2024-01-13 12:46:58 -05:00
async_gen_fn.none.stderr Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
async_gen_fn.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
async_gen_fn_iter.rs Stabilize noop_waker 2024-12-05 14:14:17 -08: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 Rename generator folder 2023-10-20 21:14:02 +00:00
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 Stabilize async closures 2024-12-13 00:04:56 +00:00
break-inside-coroutine-issue-124495.stderr Stabilize async closures 2024-12-13 00:04:56 +00: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 Add --diagnostic-width to some tests failing after 1a0c502183 2024-11-06 20:02:42 +01:00
clone-impl-async.stderr Add --diagnostic-width to some tests failing after 1a0c502183 2024-11-06 20:02:42 +01:00
clone-impl-static.rs coroutine_clone: add comments 2024-12-21 17:01:36 +01:00
clone-impl-static.stderr coroutine_clone: add comments 2024-12-21 17:01:36 +01:00
clone-impl.rs On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +00:00
clone-impl.stderr On long E0277 primary span label, move it to a help 2024-11-02 03:08:04 +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
const_gen_fn.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
const_gen_fn.stderr Stabilize the 2024 edition 2024-11-22 11:12:15 -08: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 Don't try and handle unfed type_of on anon consts 2024-12-03 23:39:51 +00:00
coroutine-in-orphaned-anon-const.stderr Don't try and handle unfed type_of on anon consts 2024-12-03 23:39:51 +00: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 Tweak multispan rendering 2024-12-12 23:36:27 +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 Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +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.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 Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_is_coro.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_is_coro.stderr Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_is_fused_iter.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_is_iter.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_is_no_future.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_is_no_future.stderr Point at tail expression on rpit E0277 2024-11-02 03:08:04 +00:00
gen_block_iterate.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_move.fixed Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_move.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_move.stderr Tighten spans for async blocks 2024-06-27 15:19:08 -04:00
gen_block_panic.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_block_panic.stderr Only run panic tests on targets that can unwind 2023-10-30 16:32:53 +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 Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_fn_iter.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
gen_fn_lifetime_capture.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08: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 Use PostBorrowckAnalysis in check_coroutine_obligations 2024-12-25 01:27:27 +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 chore: fix some typos 2024-12-31 15:11:18 +08: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 Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +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 Point at tail expression on rpit E0277 2024-11-02 03:08:04 +00:00
issue-88653.stderr Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00: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 turn rustc_box into an intrinsic 2025-01-03 12:01:31 +01:00
issue-105084.stderr turn rustc_box into an intrinsic 2025-01-03 12:01:31 +01: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 Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +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 Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
other-attribute-on-gen.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08: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 Tweak multispan rendering 2024-12-12 23:36:27 +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 Rename generator folder 2023-10-20 21:14:02 +00:00
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
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 Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +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-outlives-2.rs best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
resume-arg-outlives-2.stderr best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
resume-arg-outlives.rs Ensure that resume arg outlives region bound for coroutines 2024-10-25 20:16:52 +00:00
resume-arg-outlives.stderr Ensure that resume arg outlives region bound for coroutines 2024-10-25 20:16:52 +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 Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
return-types.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08: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 Stabilize the 2024 edition 2024-11-22 11:12:15 -08: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 Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
static-not-unpin.current.stderr fix tests 2024-11-02 16:58:50 +00:00
static-not-unpin.next.stderr fix tests 2024-11-02 16:58:50 +00:00
static-not-unpin.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11: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 Tweak multispan rendering 2024-12-12 23:36:27 +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 Stop inverting expectation in normalization errors 2024-10-16 13:44:56 -04: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 Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +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 Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +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 Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +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