rtic/macros/ui/init-unsafe.stderr
2023-01-26 22:22:39 +01:00

5 lines
241 B
Text

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