aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/init-divergent.stderr
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2022-12-31 14:45:13 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:29:10 +0100
commit7614b96fe45240dafe91ae549e712b560e2d4c10 (patch)
tree30e1666c0aac09480e1a87e5fe7965487f4a99e6 /macros/ui/init-divergent.stderr
parent1c5db277e4161470136dbd2a11e914ff1d383581 (diff)
RTIC v2: Initial commit
rtic-syntax is now part of RTIC repository
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) -> ! {}
+ | ^^^^