summaryrefslogtreecommitdiffstats
path: root/src/test/ui/array-slice-vec/slice-to-vec-comparison.stderr
blob: e3b3b040f66444e8e47c52198edd57b7340ecda7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/slice-to-vec-comparison.rs:4:9
   |
LL |     a > b;
   |         ^ expected array of 0 elements, found struct `Vec`
   |
   = note: expected reference `&[_; 0]`
              found reference `&Vec<u8>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.