Skip to content

Commit ea37479

Browse files
author
Ariel Ben-Yehuda
committed
fix test
1 parent df42976 commit ea37479

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/compile-fail/issue-23966.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99
// except according to those terms.
1010

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

0 commit comments

Comments
 (0)