Skip to content

Commit fe7eade

Browse files
test case2
1 parent b7f5bca commit fe7eade

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//@ check-pass
2+
// FIXME: add explanation.
3+
4+
struct MyTy<'a, 'b, 'x>(std::cell::Cell<(&'a &'x str, &'b &'x str)>);
5+
fn wf<T>(_: T) {}
6+
fn test<'a, 'b, 'x>() {
7+
|x: MyTy<'a, 'b, '_>| wf(x);
8+
}

0 commit comments

Comments
 (0)