From d6d58b0eb88242cf63724e1420bd29f8a4489916 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Tue, 10 Jan 2023 21:03:10 +0100 Subject: Async tasks can now take arguments at spawn again --- macros/ui/task-pub.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/ui/task-pub.stderr') diff --git a/macros/ui/task-pub.stderr b/macros/ui/task-pub.stderr index 72c4e63..7b9813d 100644 --- a/macros/ui/task-pub.stderr +++ b/macros/ui/task-pub.stderr @@ -1,4 +1,4 @@ -error: this task handler must have type signature `async fn(foo::Context)` +error: this task handler must have type signature `async fn(foo::Context, ..)` --> ui/task-pub.rs:6:18 | 6 | pub async fn foo(_: foo::Context) {} -- cgit v1.2.3