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