mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
15 lines
443 B
Plaintext
15 lines
443 B
Plaintext
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`.
|