-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-coroutinesArea: CoroutinesArea: CoroutinesE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
#61922 allows us to overlap x
and y
in this example:
fn gen() {
let x = [0u8; 1024];
yield;
drop(x);
let y = [0u8;1024];
yield;
drop(y);
}
Come to think of it, this is a pretty important behavior that I should have added an explicit test for.
Metadata
Metadata
Assignees
Labels
A-coroutinesArea: CoroutinesArea: CoroutinesE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.