]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-11374.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-11374.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-11374.rs:26:15
3 |
4 LL | c.read_to(v);
5 | ^
6 | |
7 | expected `&mut [u8]`, found struct `Vec`
8 | help: consider mutably borrowing here: `&mut v`
9 |
10 = note: expected mutable reference `&mut [u8]`
11 found struct `Vec<_>`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.