]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/issue-46589.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / nll / issue-46589.stderr
CommitLineData
0731742a 1error[E0499]: cannot borrow `**other` as mutable more than once at a time
416331ca 2 --> $DIR/issue-46589.rs:23:21
0731742a
XL
3 |
4LL | *other = match (*other).get_self() {
c295e0f8 5 | ------------------- first mutable borrow occurs here
0731742a
XL
6LL | Some(s) => s,
7LL | None => (*other).new_self()
c295e0f8 8 | ^^^^^^^^^^^^^^^^^^^
0731742a
XL
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`.