]> git.lizzy.rs Git - rust.git/blob - tests/ui/array-slice-vec/slice-to-vec-comparison.stderr
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / array-slice-vec / slice-to-vec-comparison.stderr
1 error[E0308]: mismatched types
2   --> $DIR/slice-to-vec-comparison.rs:4:9
3    |
4 LL |     a > b;
5    |         ^ expected array of 0 elements, found struct `Vec`
6    |
7    = note: expected reference `&[_; 0]`
8               found reference `&Vec<u8>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.