Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 3d6d75a

Browse files
authored
Merge pull request #1181 from matthiaskrgr/mar_24
add 1 ice
2 parents 9e76423 + 2eaee62 commit 3d6d75a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ices/95272.rs

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#![feature(nll)]
2+
3+
use std::cell::Cell;
4+
5+
fn check<'a, 'b>(x: Cell<&'a ()>, y: Cell<&'b ()>)
6+
where
7+
'a: 'b,
8+
{
9+
}
10+
11+
fn test<'a, 'b>(x: Cell<&'a ()>, y: Cell<&'b ()>) {
12+
let f = check;
13+
f(x, y);
14+
}
15+
16+
fn main() {}

0 commit comments

Comments
 (0)