summaryrefslogtreecommitdiffstats
path: root/tests/ui/array-slice-vec/slice-to-vec-comparison.stderr
blob: 47008e1d99946f68c440bcb39cd46ca1b73af2bf (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 `&[_; 0]`, found `&Vec<u8>`
   |
   = note: expected reference `&[_; 0]`
              found reference `&Vec<u8>`

error: aborting due to previous error

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