aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/init-divergent.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ui/init-divergent.stderr')
-rw-r--r--macros/ui/init-divergent.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/ui/init-divergent.stderr b/macros/ui/init-divergent.stderr
new file mode 100644
index 0000000..2d5cc39
--- /dev/null
+++ b/macros/ui/init-divergent.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-divergent.rs:12:8
+ |
+12 | fn init(_: init::Context) -> ! {}
+ | ^^^^