Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a warning to common footgun in Api::all and Api::all_with #1374

Merged
merged 1 commit into from
Dec 15, 2023

Add a warning to common footgun in `Api::all` and `Api::all_with`

b6e0b0d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Add a warning to common footgun in Api::all and Api::all_with #1374

Add a warning to common footgun in `Api::all` and `Api::all_with`
b6e0b0d
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Dec 15, 2023 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.76.0-nightly (de686cbc6 2023-12-14)
  • cargo 1.76.0-nightly (1aa9df1a5 2023-12-12)
  • clippy 0.1.76 (de686cb 2023-12-14)

Annotations

Check warning on line 8 in kube-client/src/client/builder.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `kube_core::response::Status`

warning: unused import: `kube_core::response::Status`
 --> kube-client/src/client/builder.rs:8:9
  |
8 | pub use kube_core::response::Status;
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 4 in kube-client/src/discovery/apigroup.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `Scope`, `verbs`

warning: unused imports: `Scope`, `verbs`
 --> kube-client/src/discovery/apigroup.rs:4:32
  |
4 | pub use kube_core::discovery::{verbs, ApiCapabilities, ApiResource, Scope};
  |                                ^^^^^                                ^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default