We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df42976 commit ea37479Copy full SHA for ea37479
src/test/compile-fail/issue-23966.rs
@@ -9,6 +9,5 @@
9
// except according to those terms.
10
11
fn main() {
12
- "".chars().fold(|_, _| (), ());
13
- //~^ ERROR cannot determine a type for this expression: unconstrained type
+ "".chars().fold(|_, _| (), ()); //~ ERROR is not implemented for the type `()`
14
}
0 commit comments