]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closures-recursive-fn-using-fn-mut.stderr
Sync rust-lang/portable-simd@5f49d4c8435a25d804b2f375e949cb25479f5be9
[rust.git] / src / test / ui / unboxed-closures / unboxed-closures-recursive-fn-using-fn-mut.stderr
1 error[E0499]: cannot borrow `*self` as mutable more than once at a time
2   --> $DIR/unboxed-closures-recursive-fn-using-fn-mut.rs:22:21
3    |
4 LL |         (self.func)(self, arg)
5    |         ----------- ^^^^ second mutable borrow occurs here
6    |         |
7    |         first mutable borrow occurs here
8    |         first borrow later used by call
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0499`.