1 error[E0308]: mismatched types
2 --> $DIR/issue-43420-no-over-suggest.rs:18:9
4 LL | foo(&a); //~ ERROR mismatched types
5 | ^^ expected slice, found struct `std::vec::Vec`
7 = note: expected type `&[u16]`
8 found type `&std::vec::Vec<u8>`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.