Bump http from 0.2.9 to 1.0.0 #31
GitHub Actions / clippy
failed
Nov 29, 2023 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-beta.4 (bd45872d9 2023-11-28)
- cargo 1.75.0-beta.4 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (bd45872 2023-11-28)
Annotations
Check failure on line 153 in src/error/mod.rs
github-actions / clippy
the trait bound `http::HeaderName: reqwest::header::AsHeaderName` is not satisfied
error[E0277]: the trait bound `http::HeaderName: reqwest::header::AsHeaderName` is not satisfied
--> src/error/mod.rs:153:51
|
153 | let content_type = response.headers().get(http::header::CONTENT_TYPE);
| --- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `reqwest::header::AsHeaderName` is not implemented for `http::HeaderName`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `reqwest::header::AsHeaderName`:
axum::headers::HeaderName
std::string::String
&'a axum::headers::HeaderName
&'a str
&'a std::string::String
note: required by a bound in `axum::headers::HeaderMap::<T>::get`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.11/src/header/map.rs:690:12
|
688 | pub fn get<K>(&self, key: K) -> Option<&T>
| --- required by a bound in this associated function
689 | where
690 | K: AsHeaderName,
| ^^^^^^^^^^^^ required by this bound in `HeaderMap::<T>::get`
Loading