summary refs log tree commit diff
path: root/src/test/ui/issues/issue-43420-no-over-suggest.stderr
blob: 7a3722e4bd727b04283364ae8fe172f4b3373b59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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`.