Skip to content

Commit 630dff6

Browse files
tests
1 parent 5ba1556 commit 630dff6

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// check-pass
2+
3+
#![feature(closure_lifetime_binder)]
4+
5+
fn main() {
6+
let _ = for<'a> || -> () {
7+
let _: &'a bool = &true;
8+
};
9+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// check-pass
2+
3+
#![feature(closure_lifetime_binder)]
4+
5+
fn main() {
6+
for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
7+
}

0 commit comments

Comments
 (0)