rust/tests/ui/issues/issue-13703.rs
2024-02-16 20:02:50 +00:00

7 lines
191 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() {}