fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
483 B15 linesraw
1error[E0499]: cannot borrow `y.0` as mutable more than once at a time
2  --> $DIR/borrowck-anon-fields-tuple.rs:27:10
3   |
4LL |         (ref mut a, _) => a
5   |          --------- first mutable borrow occurs here
6...
7LL |         (ref mut b, _) => b
8   |          ^^^^^^^^^ second mutable borrow occurs here
9...
10LL |     *a += 1;
11   |     ------- first borrow later used here
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0499`.