diff options
| author | Brezak <[email protected]> | 2025-07-23 19:51:31 +0200 |
|---|---|---|
| committer | Brezak <[email protected]> | 2025-07-23 20:55:42 +0200 |
| commit | 539ff78ebbdedbb75d0faf940e3ee69f5e7f276a (patch) | |
| tree | 7096952c556d7262e59178e11f5d81753d08d12a /embassy-executor/tests/ui | |
| parent | 1b42e624246f9355a91ef98ddf96d5af1b9b3687 (diff) | |
embassy-executor: explicitly return impl Future in task inner task
Diffstat (limited to 'embassy-executor/tests/ui')
| -rw-r--r-- | embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr b/embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr index 73ceb989d..3c3c9503b 100644 --- a/embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr +++ b/embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr | |||
| @@ -7,4 +7,4 @@ error[E0277]: task futures must resolve to `()` or `!` | |||
| 7 | = note: use `async fn` or change the return type to `impl Future<Output = ()>` | 7 | = note: use `async fn` or change the return type to `impl Future<Output = ()>` |
| 8 | = help: the following other types implement trait `TaskReturnValue`: | 8 | = help: the following other types implement trait `TaskReturnValue`: |
| 9 | () | 9 | () |
| 10 | <fn() -> ! as _export::HasOutput>::Output | 10 | <fn() -> ! as HasOutput>::Output |
