1 error[E0503]: cannot use `e` because it was mutably borrowed
2 --> $DIR/borrowed-match-issue-45045.rs:24:11
5 | ------ borrow of `e` occurs here
7 LL | match e { //~ cannot use `e` because it was mutably borrowed [E0503]
8 | ^ use of borrowed `e`
11 | ----------- borrow later used here
13 error[E0503]: cannot use `e` because it was mutably borrowed
14 --> $DIR/borrowed-match-issue-45045.rs:25:9
17 | ------ borrow of `e` occurs here
19 LL | Xyz::A => println!("a"),
20 | ^^^^^^ use of borrowed `e`
23 | ----------- borrow later used here
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0503`.