mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-30 15:34:33 +01:00
6 lines
240 B
Text
6 lines
240 B
Text
|
error: Async task "task1" has priority 0, but `#[idle]` is defined. 0-priority async tasks are only allowed if there is no `#[idle]`.
|
||
|
--> ui/task-no-prio.rs:18:14
|
||
|
|
|
||
|
18 | async fn task1(_: task1::Context) {}
|
||
|
| ^^^^^
|