]> git.lizzy.rs Git - rust.git/blob - tests/ui/where-clauses/where-clause-region-outlives.rs
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / where-clauses / where-clause-region-outlives.rs
1 // run-pass
2 #![allow(dead_code)]
3 #![allow(unused_variables)]
4 // pretty-expanded FIXME #23616
5
6 struct A<'a, 'b> where 'a : 'b { x: &'a isize, y: &'b isize }
7
8 fn main() {
9     let x = 1;
10     let y = 1;
11     let a = A { x: &x, y: &y };
12 }