-
-
Save igalic/d732e4d5ce76652170fe6fdca2a7db57 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: cannot find derive macro `Serialize` in this scope | |
--> plume-front/src/editor.rs:79:10 | |
| | |
79 | #[derive(Serialize, Deserialize)] | |
| ^^^^^^^^^ | |
error: cannot find derive macro `Deserialize` in this scope | |
--> plume-front/src/editor.rs:79:21 | |
| | |
79 | #[derive(Serialize, Deserialize)] | |
| ^^^^^^^^^^^ | |
warning: unused import: `Serialize` | |
--> plume-front/src/editor.rs:1:26 | |
| | |
1 | use serde::{Deserialize, Serialize}; | |
| ^^^^^^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
error[E0277]: the trait bound `editor::AutosaveInformation: serde::Serialize` is not satisfied | |
--> plume-front/src/editor.rs:175:45 | |
| | |
175 | .insert(&id, &serde_json::to_string(&info).unwrap()) | |
| ^^^^^ the trait `serde::Serialize` is not implemented for `editor::AutosaveInformation` | |
| | |
::: /home/meena/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.40/src/ser.rs:2224:8 | |
| | |
2224 | T: Serialize, | |
| --------- required by this bound in `serde_json::to_string` | |
error[E0277]: the trait bound `editor::AutosaveInformation: serde::Deserialize<'_>` is not satisfied | |
--> plume-front/src/editor.rs:188:50 | |
| | |
188 | let autosave_info: AutosaveInformation = serde_json::from_str(&autosave_str).ok().unwrap(); | |
| ^^^^^^^^^^^^^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `editor::AutosaveInformation` | |
| | |
::: /home/meena/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.40/src/de.rs:2331:8 | |
| | |
2331 | T: de::Deserialize<'a>, | |
| ------------------- required by this bound in `serde_json::from_str` | |
error[E0277]: the trait bound `editor::AutosaveInformation: serde::Serialize` is not satisfied | |
--> plume-front/src/editor.rs:89:1 | |
| | |
89 | js_serializable!(AutosaveInformation); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `editor::AutosaveInformation` | |
| | |
::: /home/meena/.cargo/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.18/src/ecosystem/serde.rs:531:21 | |
| | |
531 | pub fn to_value< T: Serialize >( value: T ) -> Result< Value, ConversionError > { | |
| --------- required by this bound in `stdweb::private::to_value` | |
| | |
= note: required because of the requirements on the impl of `serde::Serialize` for `&editor::AutosaveInformation` | |
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) | |
error[E0277]: the trait bound `editor::AutosaveInformation: serde::Serialize` is not satisfied | |
--> plume-front/src/editor.rs:89:1 | |
| | |
89 | js_serializable!(AutosaveInformation); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `editor::AutosaveInformation` | |
| | |
::: /home/meena/.cargo/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.18/src/ecosystem/serde.rs:531:21 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment