Skip to content

Convert panic cases into anyhow::Result #258

Convert panic cases into anyhow::Result

Convert panic cases into anyhow::Result #258

GitHub Actions / clippy failed Jun 3, 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 2 in ocipkg/src/distribution/client.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `Context`, `bail`

error: unused imports: `Context`, `bail`
 --> ocipkg/src/distribution/client.rs:2:14
  |
2 | use anyhow::{bail, ensure, Context, Result};
  |              ^^^^          ^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`