1 error[E0308]: mismatched types
2 --> $DIR/issue-11374.rs:26:15
7 | expected `&mut [u8]`, found struct `Vec`
8 | help: consider mutably borrowing here: `&mut v`
10 = note: expected mutable reference `&mut [u8]`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0308`.