diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/unused_async.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/unused_async.rs b/tests/ui/unused_async.rs index 433459253dd..7a0be825a2d 100644 --- a/tests/ui/unused_async.rs +++ b/tests/ui/unused_async.rs @@ -127,3 +127,13 @@ mod issue14704 { async fn cancel(self: Arc<Self>) {} } } + +mod issue15305 { + async fn todo_task() -> Result<(), String> { + todo!("Implement task"); + } + + async fn unimplemented_task() -> Result<(), String> { + unimplemented!("Implement task"); + } +} |
