Skip to content

Release v0.1.1

Release v0.1.1 #7

GitHub Actions / clippy succeeded Sep 12, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (4)

src/cli.rs|78 col 24| error[E0308]: mismatched types
--> src/cli.rs:78:24
|
78 | let c = Client::from(c);
| ------------ ^ expected cli::Client, found reqwew::reqwest::Client
| |
| arguments to this function are incorrect
|
= note: reqwew::reqwest::Client and cli::Client have similar names, but are actually distinct types
note: reqwew::reqwest::Client is defined in crate reqwest
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.7/src/async_impl/client.rs:71:1
|
71 | pub struct Client {
| ^^^^^^^^^^^^^^^^^
note: cli::Client is defined in the current crate
--> src/cli.rs:69:1
|
69 | struct Client(RClient);
| ^^^^^^^^^^^^^
note: associated function defined here
--> /home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:585:8
|
585 | fn from(value: T) -> Self;
| ^^^^
src/cli.rs|78 col 24| error[E0308]: mismatched types
--> src/cli.rs:78:24
|
78 | let c = Client::from(c);
| ------------ ^ expected cli::Client, found reqwew::reqwest::Client
| |
| arguments to this function are incorrect
|
= note: reqwew::reqwest::Client and cli::Client have similar names, but are actually distinct types
note: reqwew::reqwest::Client is defined in crate reqwest
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.7/src/async_impl/client.rs:71:1
|
71 | pub struct Client {
| ^^^^^^^^^^^^^^^^^
note: cli::Client is defined in the current crate
--> src/cli.rs:69:1
|
69 | struct Client(RClient);
| ^^^^^^^^^^^^^
note: associated function defined here
--> /home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:585:8
|
585 | fn from(value: T) -> Self;
| ^^^^
src/cli.rs|80 col 11| error[E0308]: mismatched types
--> src/cli.rs:80:11
|
80 | Ok(Self(c))
| ---- ^ expected reqwew::Client, found cli::Client
| |
| arguments to this function are incorrect
|
= note: cli::Client and reqwew::Client have similar names, but are actually distinct types
note: cli::Client is defined in the current crate
--> src/cli.rs:69:1
|
69 | struct Client(RClient);
| ^^^^^^^^^^^^^
note: reqwew::Client is defined in crate reqwew
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwew-0.3.1/src/lib.rs:341:1
|
341 | pub struct Client(pub RClient);
| ^^^^^^^^^^^^^^^^^
note: tuple struct defined here
--> src/cli.rs:69:8
|
69 | struct Client(RClient);
| ^^^^^^
src/cli.rs|80 col 11| error[E0308]: mismatched types
--> src/cli.rs:80:11
|
80 | Ok(Self(c))
| ---- ^ expected reqwew::Client, found cli::Client
| |
| arguments to this function are incorrect
|
= note: cli::Client and reqwew::Client have similar names, but are actually distinct types
note: cli::Client is defined in the current crate
--> src/cli.rs:69:1
|
69 | struct Client(RClient);
| ^^^^^^^^^^^^^
note: reqwew::Client is defined in crate reqwew
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwew-0.3.1/src/lib.rs:341:1
|
341 | pub struct Client(pub RClient);
| ^^^^^^^^^^^^^^^^^
note: tuple struct defined here
--> src/cli.rs:69:8
|
69 | struct Client(RClient);
| ^^^^^^