Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
coroutine
/
print
/
coroutine-print-verbose-3.rs
blob: 3e4bb6281768a7e64e673fb1e89ffe4599365a3e [
file
] [
log
] [
blame
]
// compile-flags: -Zverbose
#![
feature
(
coroutines
,
coroutine_trait
)]
fn
main
()
{
let
x
=
"Type mismatch test"
;
let
coroutine
:()
=
||
{
//~^ ERROR mismatched types
yield
1i32
;
return
x
};
}