rust/tests/ui/issues/issue-23966.rs

5 lines
71 B
Rust

fn main() {
"".chars().fold(|_, _| (), ());
//~^ ERROR E0277
}