summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-23966.rs
blob: 5fdec28ac2cd291e2adb321a9a15a393aab7b6e4 (plain)
1
2
3
4
fn main() {
    "".chars().fold(|_, _| (), ());
    //~^ ERROR E0277
}