thoughtram / demo-clog-website

A demo site built with clog and nickel
4 stars 1 forks source link

Failed to build the project, error[E0277]: the trait bound `Self: std::marker::Sized` is not satisfied #1

Open HectorIX opened 7 years ago

HectorIX commented 7 years ago

When cargo run the project, I get the following message:

error[E0277]: the trait boundSelf: std::marker::Sized` is not satisfied --> C:\Users\Hector.cargo\registry\src\github.com-1ecc6299db9ec823\rustc-serialize-0.3.15\src\serialize.rs:201:5 201 fn decode(d: &mut D) -> Result<Self, D::Error>; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait std::marker::Sized is not implemented for Self
= help: consider adding a `where Self: std::marker::Sized` bound
= note: required by `std::result::Result`

error: aborting due to previous error

Compiling semver v0.1.20 error: Could not compile rustc-serialize. Build failed, waiting for other jobs to finish... error: build failed`