]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
b7449926 1error[E0308]: mismatched types
0731742a 2 --> $DIR/mut-cross-borrowing.rs:7:7
b7449926 3 |
532ac7d7 4LL | 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
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0308`.