]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/mut-cross-borrowing.rs:7:7 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | f(x) |
b7449926 XL |
5 | | ^ |
6 | | | | |
60c5eb7d | 7 | | expected `&mut isize`, found struct `std::boxed::Box` |
b7449926 XL |
8 | | help: consider mutably borrowing here: `&mut x` |
9 | | | |
60c5eb7d XL |
10 | = note: expected mutable reference `&mut isize` |
11 | found struct `std::boxed::Box<{integer}>` | |
b7449926 XL |
12 | |
13 | error: aborting due to previous error | |
14 | ||
15 | For more information about this error, try `rustc --explain E0308`. |