rust/src/test/ui/issue-43420-no-over-suggest.stderr
2018-07-18 10:53:08 +02:00

13 lines
382 B
Plaintext

error[E0308]: mismatched types
--> $DIR/issue-43420-no-over-suggest.rs:18:9
|
LL | foo(&a); //~ ERROR mismatched types
| ^^ 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`.