aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/init-pub.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ui/init-pub.stderr')
-rw-r--r--macros/ui/init-pub.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/ui/init-pub.stderr b/macros/ui/init-pub.stderr
new file mode 100644
index 0000000..eb68e1e
--- /dev/null
+++ b/macros/ui/init-pub.stderr
@@ -0,0 +1,5 @@
+error: the `#[init]` function must have signature `fn(init::Context) -> (Shared resources struct, Local resources struct, init::Monotonics)`
+ --> $DIR/init-pub.rs:12:12
+ |
+12 | pub fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {}
+ | ^^^^