Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Ben-Yehuda committed May 7, 2015
1 parent df42976 commit ea37479
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/compile-fail/issue-23966.rs
Expand Up @@ -9,6 +9,5 @@
// except according to those terms.

fn main() {
"".chars().fold(|_, _| (), ());
//~^ ERROR cannot determine a type for this expression: unconstrained type
"".chars().fold(|_, _| (), ()); //~ ERROR is not implemented for the type `()`
}

0 comments on commit ea37479

Please sign in to comment.