sta: refactor remove network all #91
GitHub Actions / clippy
failed
May 22, 2024 in 0s
clippy
1 error, 1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 52 in src/sta/client.rs
github-actions / clippy
`sta::client::RemoveNetwork` doesn't implement `std::fmt::Debug`
error[E0277]: `sta::client::RemoveNetwork` doesn't implement `std::fmt::Debug`
--> src/sta/client.rs:52:19
|
43 | #[derive(Debug)]
| ----- in this derive macro expansion
...
52 | RemoveNetwork(RemoveNetwork, oneshot::Sender<Result>),
| ^^^^^^^^^^^^^ `sta::client::RemoveNetwork` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `sta::client::RemoveNetwork`
= note: add `#[derive(Debug)]` to `sta::client::RemoveNetwork` or manually `impl std::fmt::Debug for sta::client::RemoveNetwork`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider annotating `sta::client::RemoveNetwork` with `#[derive(Debug)]`
|
38 + #[derive(Debug)]
39 | pub enum RemoveNetwork {
|
Check warning on line 250 in src/sta/mod.rs
github-actions / clippy
unused variable: `response`
warning: unused variable: `response`
--> src/sta/mod.rs:250:52
|
250 | Request::RemoveNetwork(remove_network, response) => {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
|
= note: `#[warn(unused_variables)]` on by default
Loading