Skip to content

Commit 3071a81

Browse files
test case2
1 parent b7f5bca commit 3071a81

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
}
9+
10+
fn main() {}

0 commit comments

Comments
 (0)