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