]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18566.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-18566.stderr
1 error[E0499]: cannot borrow `*s` as mutable more than once at a time
2   --> $DIR/issue-18566.rs:23:19
3    |
4 LL |     MyPtr(s).poke(s);
5    |           -       ^- first borrow ends here
6    |           |       |
7    |           |       second mutable borrow occurs here
8    |           first mutable borrow occurs here
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0499`.