]> git.proxmox.com Git - rustc.git/blob - src/test/ui/mut/mut-cross-borrowing.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / mut / mut-cross-borrowing.stderr
1 error[E0308]: mismatched types
2 --> $DIR/mut-cross-borrowing.rs:7:7
3 |
4 LL | f(x)
5 | ^
6 | |
7 | expected `&mut isize`, found struct `std::boxed::Box`
8 | help: consider mutably borrowing here: `&mut x`
9 |
10 = note: expected mutable reference `&mut isize`
11 found struct `std::boxed::Box<{integer}>`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.