]> git.lizzy.rs Git - rust.git/blobdiff - src/test/auxiliary/logging_right_crate.rs
rollup merge of #20482: kmcallister/macro-reform
[rust.git] / src / test / auxiliary / logging_right_crate.rs
index bf4ab975cedd8c97a66dfd89a45a30488e732cdf..67037a3ac9e08cde559758543ff5280e342b3849 100644 (file)
@@ -12,5 +12,5 @@
 
 pub fn foo<T>() {
     fn death() -> int { panic!() }
-    debug!("{}", (||{ death() })());
+    debug!("{}", (|&:|{ death() })());
 }