fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0499]: cannot borrow `**other` as mutable more than once at a time 2 --> $DIR/issue-46589.rs:23:21 3 | 4LL | *other = match (*other).get_self() { 5 | -------- first mutable borrow occurs here 6LL | Some(s) => s, 7LL | None => (*other).new_self() 8 | ^^^^^^^^ 9 | | 10 | second mutable borrow occurs here 11 | first borrow later used here 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0499`.