rust/src/test/ui/issues/issue-13703.rs

7 lines
226 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be check-pass?)
// pretty-expanded FIXME #23616
pub struct Foo<'a, 'b: 'a> { foo: &'a &'b isize }
2014-10-02 14:52:06 -05:00
pub fn foo<'a, 'b>(x: Foo<'a, 'b>, _o: Option<& & ()>) { let _y = x.foo; }
fn main() {}