Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 232 Bytes
// run-pass
#![allow(dead_code)]
// Test that the lambda kind is inferred correctly as a return
// expression
// pretty-expanded FIXME #23616
fn unique() -> Box<dyn FnMut()+'static> { return Box::new(|| ()); }
pub fn main() {
}
You can’t perform that action at this time.