summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-28999.rs
blob: cec3e25da868c5038f385d1b9d76bde830650bff (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() {}