☰
Debian Codegraph
@
0.3.6-1
/
/
tests
/
ui
/
yield_bad_expr_in_macro.rs
☽
☼
tests/ui/yield_bad_expr_in_macro.rs
code
plain
raw
MIT
2019-2023 Tokio Contributors <
[email protected]
>; 2019 Carl Lerche <
[email protected]
>; 2018 David Tolnay <
[email protected]
>
debian/copyright
1
use async_stream::stream;
2
3
fn main() {
4
async fn work() {}
5
6
stream! {
7
tokio::select! {
8
_ = work() => yield fn f() {},
9
}
10
};
11
}