diff options
| author | xoviat <[email protected]> | 2025-12-12 01:16:27 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-12 01:16:27 +0000 |
| commit | b5a671e12c798b6d29fdf7177468a73d08e4b995 (patch) | |
| tree | f6dedf433c8b13cc13dcca75f0c2ff1623908fce /embassy-executor | |
| parent | d6b53497bd51b1ab220b4749f3e97a51a385bce4 (diff) | |
| parent | d7c7a5e76602e495d65da49f0f8eea80e3cc3fc2 (diff) | |
Merge pull request #5042 from embassy-rs/update-rust-asdf
Update Rust, nightly, xtensa.
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` | ||
