diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-13703.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-13703.rs b/src/test/ui/issues/issue-13703.rs new file mode 100644 index 000000000..424c99974 --- /dev/null +++ b/src/test/ui/issues/issue-13703.rs @@ -0,0 +1,6 @@ +// 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() {} |