]> git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/issue-46589.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / nll / issue-46589.stderr
1 error[E0499]: cannot borrow `**other` as mutable more than once at a time
2 --> $DIR/issue-46589.rs:23:21
3 |
4 LL | *other = match (*other).get_self() {
5 | ------------------- first mutable borrow occurs here
6 LL | Some(s) => s,
7 LL | None => (*other).new_self()
8 | ^^^^^^^^^^^^^^^^^^^
9 | |
10 | second mutable borrow occurs here
11 | first borrow later used here
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0499`.