Skip to content

Update Rust crate clap_complete to 4.4.9 #1150

Update Rust crate clap_complete to 4.4.9

Update Rust crate clap_complete to 4.4.9 #1150

GitHub Actions / clippy failed Jan 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.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 139 in src/cli/cmd/view.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type mismatch resolving `<InteractSnafu as IntoError<Error>>::Source == Error`

error[E0271]: type mismatch resolving `<InteractSnafu as IntoError<Error>>::Source == Error`
   --> src/cli/cmd/view.rs:139:22
    |
139 |             .context(InteractSnafu)?
    |              ------- ^^^^^^^^^^^^^ expected `dialoguer::Error`, found `std::io::Error`
    |              |
    |              required by a bound introduced by this call
    |
    = note: `std::io::Error` and `dialoguer::Error` have similar names, but are actually distinct types
note: `std::io::Error` is defined in crate `std`
   --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/error.rs:67:1
note: `dialoguer::Error` is defined in crate `dialoguer`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dialoguer-0.11.0/src/error.rs:7:1
    |
7   | pub enum Error {
    | ^^^^^^^^^^^^^^
note: required by a bound in `snafu::ResultExt::context`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/snafu-0.8.0/src/lib.rs:566:26
    |
564 |     fn context<C, E2>(self, context: C) -> Result<T, E2>
    |        ------- required by a bound in this associated function
565 |     where
566 |         C: IntoError<E2, Source = E>,
    |                          ^^^^^^^^^^ required by this bound in `ResultExt::context`