Closed
Description
In #60501 the handling of mut
patterns in arguments is fixed (#60498).
However, the test suite should also be extended to account for:
type A = Vec<u32>;
async fn foo(ref mut vec: A) { ... }
and:
async fn foo(ref vec: A) { ... }
as well as nestings of those:
async fn foo((ref mut c, ref d): (A, A)) { ... }
async fn foo((a, mut b): (A, A)) { ... }
Please be creative in testing for combinatorial interactions when closing this issue :)
Metadata
Metadata
Assignees
Labels
Area: Async & AwaitArea: The testsuite used to check the correctness of rustcAsync-await issues that are part of the "polish" areaCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Relevant to the compiler team, which will review and decide on the PR/issue.