reem / rust-modifier

Convenient chaining APIs for free
29 stars 9 forks source link

the trait `core::kinds::Sized` is not implemented for the type `Self` #10

Closed s-panferov closed 9 years ago

s-panferov commented 9 years ago

An error in latest rust:

modifier-0.0.5/src/lib.rs:23:57: 23:61 error: the trait `core::kinds::Sized` is not implemented for the type `Self`
modifier-0.0.5/src/lib.rs:23     fn set<M: Modifier<Self>>(mut self, modifier: M) -> Self {
                                                                                     ^~~~
modifier-0.0.5/src/lib.rs:23:31: 23:34 error: the trait `core::kinds::Sized` is not implemented for the type `Self`
modifier-0.0.5/src/lib.rs:23     fn set<M: Modifier<Self>>(mut self, modifier: M) -> Self {
                                                           ^~~

modifier-0.0.5/src/lib.rs:31:18: 31:30 error: the trait `core::kinds::Sized` is not implemented for the type `Self`
modifier-0.0.5/src/lib.rs:31         modifier.modify(self);
                                              ^~~~~~~~~~~~
reem commented 9 years ago

Fixed in master.