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