summaryrefslogtreecommitdiffstats
path: root/tests/ui/array-slice-vec/slice-to-vec-comparison.rs
blob: 7026a49000c55d349766a586936fa0014f033656 (plain)
1
2
3
4
5
6
fn main() {
    let a = &[];
    let b: &Vec<u8> = &vec![];
    a > b;
    //~^ ERROR mismatched types
}