mirror of
https://github.com/rust-lang/rust
synced 2024-10-06 08:40:35 +00:00
fix test
This commit is contained in:
parent
df42976e4d
commit
ea3747902c
|
@ -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 `()`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue