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