]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28999.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / issues / issue-28999.rs
1 // check-pass
2 pub struct Xyz<'a, V> {
3     pub v: (V, &'a u32),
4 }
5
6 pub fn eq<'a, 's, 't, V>(this: &'s Xyz<'a, V>, other: &'t Xyz<'a, V>) -> bool
7         where V: PartialEq {
8     this.v == other.v
9 }
10
11 fn main() {}