4 ms·
I'm getting this: error: `#[derive]` for custom traits is not stable enough for use. It is deprecated and will be removed in v1.15 (see issue #29644)
by EugeneOZ 10y ago
I'm getting this: error: `#[derive]` for custom traits is not stable enough for use. It is deprecated and will be removed in v1.15 (see issue #29644)
- steveklabnik 10y agoSounds like like you're using a crate that uses the old derive system. Where does the error originate?
- EugeneOZ 10y agoI know only Serde and rustc-serialize. Whole text of error: error: `#[derive]` for custom traits is not stable enough for use. It is deprecated and will be removed in v1.15 (see issue #29644) --> src/services/locations.rs:8:65 | 8 | #[derive(RustcDecodable, RustcEncodable, Clone, Default, Debug, Deserialize)] | ^^^^^^^^^^^ error: aborting due to previous error error: Could not compile ------------------------------------- Nothing helpful.
- dbaupp 10y ago(If you indent text by two spaces, it will be formatted as code on HN.) Are you using the macros 1.1 versions of those crates? In particular, serde_macros should now be serde_derive: https://github.com/serde-rs/serde/releases/tag/v0.8.10 https://github.com/serde-rs/serde/releases/tag/v0.8.10
- EugeneOZ 10y agothanks for help, I found.. way how to solve it (thanks to help in IRC). I'll take pause before publicly sharing my emotions about this update.