diff options
Diffstat (limited to 'tests/try_stream.rs')
-rw-r--r-- | tests/try_stream.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/try_stream.rs b/tests/try_stream.rs index 063e37a..06dcc3d 100644 --- a/tests/try_stream.rs +++ b/tests/try_stream.rs @@ -78,3 +78,10 @@ async fn multi_try() { values ); } + +#[allow(unused)] +fn issue_65() -> impl Stream<Item = Result<u32, ()>> { + try_stream! { + yield Err(())?; + } +} |