Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
677ba040b72b3e5040b224a0aa5e41cef4f712c7
/
.
/
src
/
test
/
ui
/
error-codes
/
E0297.rs
blob: b26ede9c8e2190451f0aa9bad784951295d2c675 [
file
] [
log
] [
blame
]
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
fn
main
()
{
let
xs
:
Vec
<
Option
<
i32
>>
=
vec
![
Some
(
1
),
None
];
for
Some
(
x
)
in xs
{}
//~^ ERROR E0005
}