a guest Nov 24th, 2017 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- [~] (master)$ ./mach build -d
- Compiling script v0.0.1 (file:///Users/nirav/workspaces/servo/components/script)
- error[E0277]: the trait bound `dom::bindings::root::Root<dom::bindings::root::Dom<dom::node::Node>>: serde::Serialize` is not satisfied
- --> components/script/dom/document.rs:1822:24
- 1822 | let json = serde_json::to_string(&element);
- | ^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `dom::bindings::root::Root<dom::bindings::root::Dom<dom::node::Node>>`
- = note: required by `serde_json::to_string`
- error: aborting due to previous error
- error: Could not compile `script`.
- To learn more, run the command again with --verbose.
- Build FAILED in 0:00:44
RAW Paste Data