]>
Commit | Line | Data |
---|---|---|
416331ca XL |
1 | // run-pass |
2 | ||
0bf4aa26 | 3 | #![allow(dead_code)] |
223e47cc LB |
4 | // Test that the lambda kind is inferred correctly as a return |
5 | // expression | |
6 | ||
c34b1796 | 7 | // pretty-expanded FIXME #23616 |
223e47cc | 8 | |
dc9dc135 | 9 | fn unique() -> Box<dyn FnMut()+'static> { Box::new(|| ()) } |
223e47cc LB |
10 | |
11 | pub fn main() { | |
12 | } |