Custom messages for development #87
GitHub Actions / clippy
failed
May 22, 2024 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
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 137 in src/sta/types.rs
github-actions / clippy
direct implementation of `ToString`
error: direct implementation of `ToString`
--> src/sta/types.rs:128:1
|
128 | / impl ToString for KeyMgmt {
129 | | fn to_string(&self) -> String {
130 | | match self {
131 | | KeyMgmt::None => "NONE".to_string(),
... |
136 | | }
137 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `-D clippy::to-string-trait-impl` implied by `-D clippy::all`
= help: to override `-D clippy::all` add `#[allow(clippy::to_string_trait_impl)]`
Loading