]> 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 bb2907241c2c6bfc06c5754f46f79e04c2f7bc09..48d29095ec6900e3c90138eb5ef5b261d2f1c453 100644 (file)
 // Test that param substitutions from the correct environment are
 // used when translating unboxed closure calls.
 
-#![feature(unboxed_closures)]
+// pretty-expanded FIXME #23616
 
 pub fn inside<F: Fn()>(c: F) {
-    c.call(());
+    c();
 }
 
 // Use different number of type parameters and closure type to trigger