aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/async-zero-prio-tasks.stderr
blob: d617feb2756c5b86103591fa8192900a84886284 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
error: Software task "foo" has priority 0, but `#[idle]` is defined. 0-priority software tasks are only allowed if there is no `#[idle]`.
  --> ui/async-zero-prio-tasks.rs:15:8
   |
15 |     fn foo(_: foo::Context) {}
   |        ^^^

error: Software task "foo" has priority 0, but is not `async`. 0-priority software tasks must be `async`.
  --> ui/async-zero-prio-tasks.rs:15:8
   |
15 |     fn foo(_: foo::Context) {}
   |        ^^^