mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Fix UI test
This commit is contained in:
parent
e4b673646a
commit
2b9e8cbf1f
2 changed files with 1 additions and 9 deletions
|
@ -9,7 +9,7 @@ mod app {
|
||||||
struct Local {}
|
struct Local {}
|
||||||
|
|
||||||
#[init]
|
#[init]
|
||||||
fn init(cx: init::Context) -> (Shared, Local) {
|
fn init(_cx: init::Context) -> (Shared, Local) {
|
||||||
(Shared {}, Local {})
|
(Shared {}, Local {})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,3 @@
|
||||||
warning: unused variable: `cx`
|
|
||||||
--> ui/task-priority-too-high.rs:12:13
|
|
||||||
|
|
|
||||||
12 | fn init(cx: init::Context) -> (Shared, Local) {
|
|
||||||
| ^^ 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
|
error[E0080]: evaluation of constant value failed
|
||||||
--> ui/task-priority-too-high.rs:3:1
|
--> ui/task-priority-too-high.rs:3:1
|
||||||
|
|
|
|
||||||
|
|
Loading…
Reference in a new issue