Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

() doesn't implement std::fmt::Display #5

Open
intellild opened this issue May 14, 2018 · 0 comments
Open

() doesn't implement std::fmt::Display #5

intellild opened this issue May 14, 2018 · 0 comments

Comments

@intellild
Copy link

intellild commented May 14, 2018

rustc 1.26.0 (a77568041 2018-05-07)
error[E0277]: `()` doesn't implement `std::fmt::Display`
  --> /Users/intellild/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sockjs-0.3.0/src/transports/xhrsend.rs:89:49
   |
89 |                                             Err(error::ErrorNotFound(())),
   |                                                 ^^^^^^^^^^^^^^^^^^^^ `()` cannot be formatted with the default formatter; try using `:?` instead if you are using a format string
   |
   = help: the trait `std::fmt::Display` is not implemented for `()`
   = note: required by `actix_web::error::ErrorNotFound`

error[E0277]: `()` doesn't implement `std::fmt::Display`
   --> /Users/intellild/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sockjs-0.3.0/src/transports/jsonp.rs:271:49
    |
271 |                                             Err(error::ErrorNotFound(())),
    |                                                 ^^^^^^^^^^^^^^^^^^^^ `()` cannot be formatted with the default formatter; try using `:?` instead if you are using a format string
    |
    = help: the trait `std::fmt::Display` is not implemented for `()`
    = note: required by `actix_web::error::ErrorNotFound`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0277`.
error: Could not compile `sockjs`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant