Skip to content

Commit 3dbdd00

Browse files
committed
Correct error message that changed.
1 parent 9369a07 commit 3dbdd00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/unboxed-closures-type-mismatch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ use std::ops::FnMut;
1414

1515
pub fn main() {
1616
let mut f = |&mut: x: int, y: int| -> int { x + y };
17-
let z = f.call_mut((1u, 2)); //~ ERROR type mismatch
17+
let z = f.call_mut((1u, 2)); //~ ERROR not implemented
1818
println!("{}", z);
1919
}

0 commit comments

Comments
 (0)