Factor out workspace props #3086
clippy
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0-nightly (0824b300e 2024-03-24)
- cargo 1.79.0-nightly (d438c80c4 2024-03-19)
- clippy 0.1.79 (0824b30 2024-03-24)
Annotations
Check warning on line 4 in kube-client/src/client/config_ext.rs
github-actions / clippy
unused import: `Write`
warning: unused import: `Write`
--> kube-client/src/client/config_ext.rs:4:23
|
4 | use hyper::rt::{Read, Write};
| ^^^^^
Check warning on line 4 in kube-client/src/client/config_ext.rs
github-actions / clippy
unused import: `Read`
warning: unused import: `Read`
--> kube-client/src/client/config_ext.rs:4:17
|
4 | use hyper::rt::{Read, Write};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
Check warning on line 33 in kube-derive/src/custom_resource.rs
github-actions / clippy
if let can be simplified with `.unwrap_or_default()`
warning: if let can be simplified with `.unwrap_or_default()`
--> kube-derive/src/custom_resource.rs:33:15
|
33 | #[darling(default)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
help: replace it with
|
33 ~ #[darling(default)]
34 ~ crates.unwrap_or_default())]
|
Check warning on line 20 in kube-derive/src/custom_resource.rs
github-actions / clippy
if let can be simplified with `.unwrap_or_default()`
warning: if let can be simplified with `.unwrap_or_default()`
--> kube-derive/src/custom_resource.rs:20:15
|
20 | #[darling(default)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
= note: `#[warn(clippy::manual_unwrap_or_default)]` on by default
help: replace it with
|
20 ~ #[darling(default)]
21 ~ namespaced.unwrap_or_default())]
|
Check warning on line 33 in kube-derive/src/custom_resource.rs
github-actions / clippy
if let can be simplified with `.unwrap_or_default()`
warning: if let can be simplified with `.unwrap_or_default()`
--> kube-derive/src/custom_resource.rs:33:15
|
33 | #[darling(default)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
help: replace it with
|
33 ~ #[darling(default)]
34 ~ crates.unwrap_or_default())]
|
Check warning on line 20 in kube-derive/src/custom_resource.rs
github-actions / clippy
if let can be simplified with `.unwrap_or_default()`
warning: if let can be simplified with `.unwrap_or_default()`
--> kube-derive/src/custom_resource.rs:20:15
|
20 | #[darling(default)]
| ^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
= note: `#[warn(clippy::manual_unwrap_or_default)]` on by default
help: replace it with
|
20 ~ #[darling(default)]
21 ~ namespaced.unwrap_or_default())]
|