fix: set correct version in rust-toolchain #112
Annotations
5 errors
Run Clippy:
src/bin/zjstatus.rs#L23
error: struct `State` is never constructed
--> src/bin/zjstatus.rs:23:8
|
23 | struct State {
| ^^^^^
|
= note: `State` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
Run Clippy:
src/bin/zjstatus.rs#L37
error: function `init_tracing` is never used
--> src/bin/zjstatus.rs:37:4
|
37 | fn init_tracing() {
| ^^^^^^^^^^^^
|
Run Clippy:
src/bin/zjstatus.rs#L175
error: method `handle_event` is never used
--> src/bin/zjstatus.rs:175:8
|
174 | impl State {
| ---------- method in this implementation
175 | fn handle_event(&mut self, event: Event) -> bool {
| ^^^^^^^^^^^^
|
Run Clippy:
src/bin/zjstatus.rs#L290
error: function `register_widgets` is never used
--> src/bin/zjstatus.rs:290:4
|
290 | fn register_widgets(configuration: &BTreeMap<String, String>) -> BTreeMap<String, Arc<dyn Widget>> {
| ^^^^^^^^^^^^^^^^
|
Run Clippy
Clippy has exited with exit code 101
|
Loading