clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.0-nightly (87293c958 2024-05-08)
- cargo 1.80.0-nightly (0ca60e940 2024-05-08)
- clippy 0.1.80 (87293c9 2024-05-08)
Annotations
Check warning on line 236 in kube-client/src/client/config_ext.rs
github-actions / clippy
use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead
warning: use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead
--> kube-client/src/client/config_ext.rs:236:31
|
236 | builder = builder.with_server_name(tsn.clone());
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` 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())]
|