rtic/rtic-macros/ui/init-divergent.stderr

6 lines
220 B
Text
Raw Permalink Normal View History

error: the `#[init]` function must have signature `fn(init::Context) -> (Shared resources struct, Local resources struct)`
--> ui/init-divergent.rs:12:8
|
12 | fn init(_: init::Context) -> ! {}
| ^^^^