rtic/macros/ui/init-no-context.stderr

6 lines
219 B
Text
Raw Normal View History

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