This commit is contained in:
Ariel Ben-Yehuda 2015-05-07 16:19:43 +03:00
parent df42976e4d
commit ea3747902c

View file

@ -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 `()`
}