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

Update Rust crate clap_complete to 4.4.9 #421

Merged
merged 1 commit into from
Jan 22, 2024

Update Rust crate clap_complete to 4.4.9

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

Update Rust crate clap_complete to 4.4.9 #421

Update Rust crate clap_complete to 4.4.9
448b7a0
Select commit
Loading
Failed to load commit list.
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`