Skip to content

Commit 45860b5

Browse files
author
Jorge Aparicio
committed
Fix run pass test
1 parent 40b3617 commit 45860b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/run-pass/backtrace.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
// no-pretty-expanded FIXME #15189
1212
// ignore-windows FIXME #13259
13+
14+
#![feature(unboxed_closures)]
15+
1316
use std::os;
1417
use std::io::process::Command;
1518
use std::finally::Finally;
@@ -25,7 +28,7 @@ fn foo() {
2528

2629
#[inline(never)]
2730
fn double() {
28-
(|| {
31+
(|&mut:| {
2932
panic!("once");
3033
}).finally(|| {
3134
panic!("twice");

0 commit comments

Comments
 (0)