]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hrtb/hrtb-debruijn-in-receiver.stderr
Auto merge of #98120 - TaKO8Ki:box-diagnostic-metadata-field, r=estebank
[rust.git] / src / test / ui / hrtb / hrtb-debruijn-in-receiver.stderr
1 error[E0499]: cannot borrow `foo` as mutable more than once at a time
2   --> $DIR/hrtb-debruijn-in-receiver.rs:17:5
3    |
4 LL |     foo.insert();
5    |     ------------ first mutable borrow occurs here
6 LL |     foo.insert();
7    |     ^^^^^^^^^^^^
8    |     |
9    |     second mutable borrow occurs here
10    |     first borrow later used here
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0499`.