summaryrefslogtreecommitdiffstats
path: root/tests/ui/where-clauses/where-clause-region-outlives.rs
blob: 84925345de14ea45f5ef276015bf204c5f5cf9e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
#![allow(dead_code)]
#![allow(unused_variables)]
// pretty-expanded FIXME #23616

struct A<'a, 'b> where 'a : 'b { x: &'a isize, y: &'b isize }

fn main() {
    let x = 1;
    let y = 1;
    let a = A { x: &x, y: &y };
}