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
Trying to compile with stable, beta or nightly gives me this error:
src/main.rs:84:56:84:86 error: the trait `hyper::header::Header` is not implemented for the type `hyper::header::common::authorization::Authorization<hyper::header::common::authorization::Bearer>` [E0277]
src/main.rs:84letauth_header = match request.origin.headers.get::<Authorization<Bearer>>(){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:84:56:84:86 help: run `rustc --explain E0277` to see a detailed explanation
src/main.rs:84:56:84:86 error: the trait `hyper::header::HeaderFormat` is not implemented for the type `hyper::header::common::authorization::Authorization<hyper::header::common::authorization::Bearer>` [E0277]
src/main.rs:84 let auth_header = match request.origin.headers.get::<Authorization<Bearer>>(){
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:84:56:84:86 help: run `rustc --explain E0277` to see a detailed explanation
error: aborting due to 2 previous errors
Could not compile `rust-users`.
The text was updated successfully, but these errors were encountered:
Trying to compile with stable, beta or nightly gives me this error:
The text was updated successfully, but these errors were encountered: