aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/extern-interrupt-not-enough.stderr4
-rw-r--r--ui/task-priority-too-high.rs2
-rw-r--r--ui/task-priority-too-high.stderr8
3 files changed, 11 insertions, 3 deletions
diff --git a/ui/extern-interrupt-not-enough.stderr b/ui/extern-interrupt-not-enough.stderr
index a667c58..d8c01b9 100644
--- a/ui/extern-interrupt-not-enough.stderr
+++ b/ui/extern-interrupt-not-enough.stderr
@@ -1,5 +1,5 @@
-error: not enough interrupts to dispatch all software tasks (need: 1; given: 0)
- --> $DIR/extern-interrupt-not-enough.rs:17:8
+error: not enough interrupts to dispatch all software and async tasks (need: 1; given: 0) - one interrupt is needed per priority and sync/async task
+ --> ui/extern-interrupt-not-enough.rs:17:8
|
17 | fn a(_: a::Context) {}
| ^
diff --git a/ui/task-priority-too-high.rs b/ui/task-priority-too-high.rs
index e7e0cce..46ab561 100644
--- a/ui/task-priority-too-high.rs
+++ b/ui/task-priority-too-high.rs
@@ -9,7 +9,7 @@ mod app {
struct Local {}
#[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
+ fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
(Shared {}, Local {}, init::Monotonics())
}
diff --git a/ui/task-priority-too-high.stderr b/ui/task-priority-too-high.stderr
index 026124c..a7a15eb 100644
--- a/ui/task-priority-too-high.stderr
+++ b/ui/task-priority-too-high.stderr
@@ -1,3 +1,11 @@
+warning: unused variable: `cx`
+ --> ui/task-priority-too-high.rs:12:13
+ |
+12 | fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
+ | ^^ help: if this is intentional, prefix it with an underscore: `_cx`
+ |
+ = note: `#[warn(unused_variables)]` on by default
+
error[E0080]: evaluation of constant value failed
--> ui/task-priority-too-high.rs:3:1
|