rust/tests/ui/issues/issue-13703.rs
2023-01-11 09:32:08 +00: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() {}