diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-12-12 00:48:16 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-12-12 00:48:16 +0100 |
| commit | d7c7a5e76602e495d65da49f0f8eea80e3cc3fc2 (patch) | |
| tree | 4f1257df8a65b7d71ea13329ae1397195763a79e /embassy-executor | |
| parent | 7083411ca255efdfe0ebf9cfba8e889c38630aee (diff) | |
executor: update ui test for nightly.
Diffstat (limited to 'embassy-executor')
| -rw-r--r-- | embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr | 10 |
1 files changed, 7 insertions, 3 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 3c3c9503b..e5e069ade 100644 --- a/embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr +++ b/embassy-executor/tests/ui/bad_return_impl_future_nightly.stderr | |||
| @@ -5,6 +5,10 @@ error[E0277]: task futures must resolve to `()` or `!` | |||
| 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TaskReturnValue` is not implemented for `u32` | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TaskReturnValue` is not implemented for `u32` |
| 6 | | | 6 | | |
| 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 | --> src/lib.rs |
| 10 | <fn() -> ! as HasOutput>::Output | 10 | | |
| 11 | | impl TaskReturnValue for () {} | ||
| 12 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` | ||
| 13 | | impl TaskReturnValue for Never {} | ||
| 14 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<fn() -> ! as HasOutput>::Output` | ||
