about summary refs log tree commit diff
path: root/tests/ui/issues/issue-28999.rs
blob: 572a0beff61f6c9e72c51dff1602152fd4e350a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ check-pass
pub struct Xyz<'a, V> {
    pub v: (V, &'a u32),
}

pub fn eq<'a, 's, 't, V>(this: &'s Xyz<'a, V>, other: &'t Xyz<'a, V>) -> bool
        where V: PartialEq {
    this.v == other.v
}

fn main() {}