blob: 40d45d3569c1b71632ed1660da8400cb3b5c89f4 [file] [log] [blame]
//@ run-pass
#![allow(dead_code)]
// Test that the lambda kind is inferred correctly as a return
// expression
fn unique() -> Box<dyn FnMut()+'static> { Box::new(|| ()) }
pub fn main() {
}