1 error[E0499]: cannot borrow `**other` as mutable more than once at a time
2 --> $DIR/issue-46589.rs:17:21
4 LL | *other = match (*other).get_self() {
5 | -------- first mutable borrow occurs here
7 LL | None => (*other).new_self()
10 | second mutable borrow occurs here
11 | first borrow later used here
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0499`.