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