Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
for
/
for-loop-type-error.rs
blob: 8d9fc20f0d0d6ef0dd5189e4fd45d8895c49b2f3 [
file
] [
log
] [
blame
]
pub
fn
main
()
{
let
x
=
()
+
();
//~ ERROR cannot add `()` to `()`
// this shouldn't have a flow-on error:
for
_ in x
{}
}