blob: 14c9262c74d18478685de6ff8deaeabadaff9e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// run-pass
// Issue #922
// pretty-expanded FIXME #23616
fn f2<F>(_thing: F) where F: FnOnce() { }
fn f<F>(thing: F) where F: FnOnce() {
f2(thing);
}
pub fn main() {
f(|| {});
}
|