2019-07-27 00:54:25 +03:00
|
|
|
// run-pass
|
|
|
|
|
2018-09-14 12:20:28 +02:00
|
|
|
#![allow(dead_code)]
|
2012-07-01 18:08:53 -07:00
|
|
|
// Test that the lambda kind is inferred correctly as a return
|
|
|
|
// expression
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2019-05-28 14:47:21 -04:00
|
|
|
fn unique() -> Box<dyn FnMut()+'static> { Box::new(|| ()) }
|
2012-07-01 18:08:53 -07:00
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2012-07-01 18:08:53 -07:00
|
|
|
}
|