aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src')
-rw-r--r--embassy-executor/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs
index 70abfcc3a..e26e8ee7d 100644
--- a/embassy-executor/src/lib.rs
+++ b/embassy-executor/src/lib.rs
@@ -70,7 +70,7 @@ pub mod _export {
70 impl TaskReturnValue for Never {} 70 impl TaskReturnValue for Never {}
71 71
72 #[diagnostic::on_unimplemented( 72 #[diagnostic::on_unimplemented(
73 message = "task function futures must resolve to `()`", 73 message = "task futures must resolve to `()` or `!`",
74 note = "use `async fn` or change the return type to `impl Future<Output = ()>`" 74 note = "use `async fn` or change the return type to `impl Future<Output = ()>`"
75 )] 75 )]
76 #[allow(private_bounds)] 76 #[allow(private_bounds)]