Sign in
◑
Theme
rust
/
rust
/
a123594de1feec1732ed9251135bc42ccaaef8f3
/
.
/
tests
/
ui
/
iterators
/
fold-iterator-error-23966.rs
blob: 970c943da0b920ba22ed2f38829c8fa4ee3d766e [
file
]
// https://github.com/rust-lang/rust/issues/23966
fn
main
()
{
""
.
chars
().
fold
(|
_
,
_
|
(),
());
//~^ ERROR E0277
}