]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-18661.rs
Rollup merge of #45171 - rust-lang:petrochenkov-patch-2, r=steveklabnik
[rust.git] / src / test / run-pass / issue-18661.rs
index 302f5ddcc6c60c5041bbd5c95fd9e66fc4706634..48d29095ec6900e3c90138eb5ef5b261d2f1c453 100644 (file)
 
 // pretty-expanded FIXME #23616
 
-#![feature(unboxed_closures, core)]
-
 pub fn inside<F: Fn()>(c: F) {
-    c.call(());
+    c();
 }
 
 // Use different number of type parameters and closure type to trigger