rust/src/test/ui/issues/issue-13703.rs
2019-11-04 16:03:46 +01:00

7 lines
189 B
Rust

// check-pass
// pretty-expanded FIXME #23616
pub struct Foo<'a, 'b: 'a> { foo: &'a &'b isize }
pub fn foo<'a, 'b>(x: Foo<'a, 'b>, _o: Option<& & ()>) { let _y = x.foo; }
fn main() {}