You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling h2 v0.1.3 (file:///tmp/h2)
error[E0034]: multiple applicable items in scope
--> src/hpack/header.rs:66:33
|
66 | let value = String::try_from(value)?;
| ^^^^^^^^^^^^^^^^ multiple `try_from` found
|
= note: candidate #1 is defined in an impl of the trait `std::convert::TryFrom` for the type `_`
= note: candidate #2 is defined in an impl of the trait `string::TryFrom` for the type `string::String<_>`
error[E0034]: multiple applicable items in scope
--> src/hpack/header.rs:74:33
|
74 | let value = String::try_from(value)?;
| ^^^^^^^^^^^^^^^^ multiple `try_from` found
|
= note: candidate #1 is defined in an impl of the trait `std::convert::TryFrom` for the type `_`
= note: candidate #2 is defined in an impl of the trait `string::TryFrom` for the type `string::String<_>`
error[E0034]: multiple applicable items in scope
--> src/hpack/header.rs:78:33
|
78 | let value = String::try_from(value)?;
| ^^^^^^^^^^^^^^^^ multiple `try_from` found
|
= note: candidate #1 is defined in an impl of the trait `std::convert::TryFrom` for the type `_`
= note: candidate #2 is defined in an impl of the trait `string::TryFrom` for the type `string::String<_>`
error[E0034]: multiple applicable items in scope
--> src/hpack/header.rs:237:53
|
237 | Name::Authority => Ok(Header::Authority(String::try_from(value)?)),
| ^^^^^^^^^^^^^^^^ multiple `try_from` found
|
= note: candidate #1 is defined in an impl of the trait `std::convert::TryFrom` for the type `_`
= note: candidate #2 is defined in an impl of the trait `string::TryFrom` for the type `string::String<_>`
error[E0034]: multiple applicable items in scope
--> src/hpack/header.rs:239:47
|
239 | Name::Scheme => Ok(Header::Scheme(String::try_from(value)?)),
| ^^^^^^^^^^^^^^^^ multiple `try_from` found
|
= note: candidate #1 is defined in an impl of the trait `std::convert::TryFrom` for the type `_`
= note: candidate #2 is defined in an impl of the trait `string::TryFrom` for the type `string::String<_>`
error[E0034]: multiple applicable items in scope
--> src/hpack/header.rs:240:43
|
240 | Name::Path => Ok(Header::Path(String::try_from(value)?)),
| ^^^^^^^^^^^^^^^^ multiple `try_from` found
|
= note: candidate #1 is defined in an impl of the trait `std::convert::TryFrom` for the type `_`
= note: candidate #2 is defined in an impl of the trait `string::TryFrom` for the type `string::String<_>`
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0034`.
error: Could not compile `h2`.
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
Similar to hyperium/http#192 h2 is also broken in latest nightly because of rust-lang/rust#49305
Build log
The text was updated successfully, but these errors were encountered: