fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
490 B15 linesraw
1error[E0308]: mismatched types
2  --> $DIR/issue-11374.rs:26:15
3   |
4LL |     c.read_to(v);
5   |               ^
6   |               |
7   |               expected `&mut [u8]`, found struct `std::vec::Vec`
8   |               help: consider mutably borrowing here: `&mut v`
9   |
10   = note: expected mutable reference `&mut [u8]`
11                         found struct `std::vec::Vec<_>`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0308`.