From d7c7a5e76602e495d65da49f0f8eea80e3cc3fc2 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 12 Dec 2025 00:48:16 +0100 Subject: executor: update ui test for nightly. --- .../tests/ui/bad_return_impl_future_nightly.stderr | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'embassy-executor') 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 `!` | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TaskReturnValue` is not implemented for `u32` | = note: use `async fn` or change the return type to `impl Future` - = help: the following other types implement trait `TaskReturnValue`: - () - ! as HasOutput>::Output +help: the following other types implement trait `TaskReturnValue` + --> src/lib.rs + | + | impl TaskReturnValue for () {} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` + | impl TaskReturnValue for Never {} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ` ! as HasOutput>::Output` -- cgit