rust/src/test/ui/issues/issue-13703.rs
2019-07-03 06:30:28 +09:00

7 lines
226 B
Rust

// build-pass (FIXME(62277): could be 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() {}