1 error[E0308]: mismatched types
2 --> $DIR/issue-11374.rs:36:15
4 LL | c.read_to(v); //~ ERROR E0308
7 | expected &mut [u8], found struct `std::vec::Vec`
8 | help: consider mutably borrowing here: `&mut v`
10 = note: expected type `&mut [u8]`
11 found type `std::vec::Vec<_>`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0308`.