warning: unused variable: x
--> src\hardware\passthru\mod.rs:811:13
811
fn from(x: PoisonError) -> Self {
^ help: if this is intentional, prefix it with an underscore: _x
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: x
--> src\hardware\passthru\mod.rs:820:13
|
820 | fn from(x: PoisonError) -> Self {
| ^ help: if this is intentional, prefix it with an underscore: _x
warning: variable does not need to be mutable
--> src\kwp2000\read_dtc_by_status.rs:90:9
90
let mut res: Vec = Vec::new();
----^^^
help: remove this mut
= note: #[warn(unused_mut)] on by default
warning: associated function is never used: get_version
--> src\hardware\passthru\lib_funcs.rs:291:12
this language is new to me, build error is -
warning: unused imports:
BorrowMut,
Borrow,
LockResult,
cell::RefCell,
convert::TryInto,
default` --> src\hardware\passthru\mod.rs:22:14= note:
#[warn(unused_imports)]
on by defaultwarning: unused import:
RegValue
--> src\hardware\passthru\mod.rs:35:22 | 35 | use winreg::{RegKey, RegValue}; | ^^^^^^^^warning: unused import:
RwLock
--> src\hardware\passthru\lib_funcs.rs:5:22 | 5 | use std::sync::{Arc, RwLock}; | ^^^^^^warning: unused import:
winreg::enums::*
--> src\hardware\passthru\lib_funcs.rs:9:5 | 9 | use winreg::enums::*; | ^^^^^^^^^^^^^^^^warning: unused imports:
RegKey
,RegValue
--> src\hardware\passthru\lib_funcs.rs:12:14 | 12 | use winreg::{RegKey, RegValue}; | ^^^^^^ ^^^^^^^^x
--> src\hardware\passthru\mod.rs:811:13_x
warning: unused variable:) -> Self {
| ^ help: if this is intentional, prefix it with an underscore:
x
--> src\hardware\passthru\mod.rs:820:13 | 820 | fn from(x: PoisonError_x
mut
= note:
#[warn(unused_mut)]
on by defaultget_version
--> src\hardware\passthru\lib_funcs.rs:291:12warning: associated function is never used:
stop_msg_filter
--> src\hardware\passthru\lib_funcs.rs:439:12 | 439 | pub fn stop_msg_filter(&self, channel_id: u32, filter_id: u32) -> PassthruResult<()> { | ^^^^^^^^^^^^^^^Result
that must be used --> src\hardware\passthru\mod.rs:464:17Result
that must be used --> src\hardware\passthru\mod.rs:636:17warning: 12 warnings emitted`