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