aboutsummaryrefslogtreecommitdiff
path: root/macros/ui
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-01-10 21:03:10 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:30 +0100
commitd6d58b0eb88242cf63724e1420bd29f8a4489916 (patch)
treed797b67b381947cc375d9c89cdc15d0cc98dee1a /macros/ui
parentcd790a94286cdc307d399b7f7a43e305e90de5bf (diff)
Async tasks can now take arguments at spawn again
Diffstat (limited to 'macros/ui')
-rw-r--r--macros/ui/task-divergent.stderr2
-rw-r--r--macros/ui/task-no-context.stderr2
-rw-r--r--macros/ui/task-pub.stderr2
-rw-r--r--macros/ui/task-unsafe.stderr2
-rw-r--r--macros/ui/task-zero-prio.stderr2
5 files changed, 5 insertions, 5 deletions
diff --git a/macros/ui/task-divergent.stderr b/macros/ui/task-divergent.stderr
index bd22bd3..dd00208 100644
--- a/macros/ui/task-divergent.stderr
+++ b/macros/ui/task-divergent.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-divergent.rs:6:14
|
6 | async fn foo(_: foo::Context) -> ! {
diff --git a/macros/ui/task-no-context.stderr b/macros/ui/task-no-context.stderr
index 91239a1..62147aa 100644
--- a/macros/ui/task-no-context.stderr
+++ b/macros/ui/task-no-context.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-no-context.rs:6:14
|
6 | async fn foo() {}
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) {}
diff --git a/macros/ui/task-unsafe.stderr b/macros/ui/task-unsafe.stderr
index 4908481..90ac76f 100644
--- a/macros/ui/task-unsafe.stderr
+++ b/macros/ui/task-unsafe.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-unsafe.rs:6:21
|
6 | async unsafe fn foo(_: foo::Context) {}
diff --git a/macros/ui/task-zero-prio.stderr b/macros/ui/task-zero-prio.stderr
index f2d8223..1ab9aab 100644
--- a/macros/ui/task-zero-prio.stderr
+++ b/macros/ui/task-zero-prio.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-zero-prio.rs:15:8
|
15 | fn foo(_: foo::Context) {}