diff options
Diffstat (limited to 'rtic-macros/ui/task-no-prio.stderr')
| -rw-r--r-- | rtic-macros/ui/task-no-prio.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rtic-macros/ui/task-no-prio.stderr b/rtic-macros/ui/task-no-prio.stderr new file mode 100644 index 0000000..4ff97ec --- /dev/null +++ b/rtic-macros/ui/task-no-prio.stderr @@ -0,0 +1,5 @@ +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) {} + | ^^^^^ |
