2017-08-16 13:23:44 -05:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-43420-no-over-suggest.rs:18:9
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foo(&a); //~ ERROR mismatched types
|
2017-08-16 13:23:44 -05:00
|
|
|
| ^^ expected slice, found struct `std::vec::Vec`
|
|
|
|
|
|
|
|
|
= note: expected type `&[u16]`
|
|
|
|
found type `&std::vec::Vec<u8>`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0308"
|