]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/empty-tag.rs
rollup merge of #20554: huonw/mut-pattern
[rust.git] / src / test / run-pass / empty-tag.rs
index 58eb4ce2f7a559a4814c0247980937afed6a59cb..d9201746440854f124d23df14fe344a699f87527 100644 (file)
@@ -25,6 +25,6 @@ fn wrapper3(i: chan) {
 }
 
 pub fn main() {
-    let wrapped = {||wrapper3(chan::chan_t)};
+    let wrapped = {|&:|wrapper3(chan::chan_t)};
     wrapped();
 }