blob: 70d5b3c2ec58c2b8659c0d459a7bff3d084159a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0499]: cannot borrow `foo` as mutable more than once at a time
--> $DIR/hrtb-debruijn-in-receiver.rs:17:5
|
LL | foo.insert();
| --- first mutable borrow occurs here
LL | foo.insert();
| ^^^
| |
| second mutable borrow occurs here
| first borrow later used here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0499`.
|