Joshua Nelson
2baa0ceff4
Don't reuse bindings for ref mut
...
Reusing bindings causes errors later in lowering:
```
error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable
--> /checkout/src/test/ui/async-await/argument-patterns.rs:12:20
|
LL | async fn b(n: u32, ref mut vec: A) {
| ^^^^^^^^^^^
| |
| cannot borrow as mutable
| help: consider changing this to be mutable: `mut vec`
```
2020-11-12 11:13:05 -05:00
..
2020-11-12 00:33:55 +00:00
2020-11-12 11:13:05 -05:00
2020-11-10 14:45:21 +01:00
2020-11-09 01:47:11 +03:00
2020-11-10 20:07:47 -08:00
2020-11-10 20:07:47 -08:00
2020-11-10 20:07:47 -08:00
2020-11-10 14:45:21 +01:00
2020-11-11 13:28:30 -05:00
2020-11-05 12:13:28 -05:00
2020-11-03 16:32:34 +00:00
2020-11-12 00:33:55 +00:00
2020-11-09 15:30:49 +00:00
2020-11-05 18:24:12 -08:00
2020-11-10 20:07:47 -08:00
2020-11-10 14:45:09 +01:00
2020-11-10 00:00:00 +00:00
2020-11-09 19:06:55 +01:00
2020-11-09 01:13:31 +01:00
2020-11-03 19:32:26 +01:00
2020-11-07 18:20:42 +01:00
2020-11-10 20:07:47 -08:00
2020-11-12 00:33:55 +00:00
2020-11-11 20:59:05 +01:00
2020-11-09 01:13:44 +01:00
2020-11-12 00:33:55 +00:00
2020-11-10 14:45:21 +01:00
2020-11-05 20:11:29 +01:00
2020-11-08 13:36:30 +01:00
2020-11-11 20:59:03 +01:00
2020-11-09 15:30:49 +00:00
2020-11-04 13:41:58 +00:00
2020-11-11 20:59:10 +01:00
2020-11-11 20:59:02 +01:00
2020-11-09 19:06:46 +01:00
2020-11-10 20:07:47 -08:00