fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0503]: cannot use `x` because it was mutably borrowed 2 --> $DIR/borrowck-non-exhaustive.rs:12:11 3 | 4LL | let y = &mut x; 5 | ------ `x` is borrowed here 6LL | match x { 7 | ^ use of borrowed `x` 8... 9LL | drop(y); 10 | - borrow later used here 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0503`.