Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. [~] (master)$ ./mach build -d
  2. Compiling script v0.0.1 (file:///Users/nirav/workspaces/servo/components/script)
  3. error[E0277]: the trait bound `dom::bindings::root::Root<dom::bindings::root::Dom<dom::node::Node>>: serde::Serialize` is not satisfied
  4. --> components/script/dom/document.rs:1822:24
  5. |
  6. 1822 | let json = serde_json::to_string(&element);
  7. | ^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `dom::bindings::root::Root<dom::bindings::root::Dom<dom::node::Node>>`
  8. |
  9. = note: required by `serde_json::to_string`
  10.  
  11. error: aborting due to previous error
  12.  
  13. error: Could not compile `script`.
  14.  
  15. To learn more, run the command again with --verbose.
  16. Build FAILED in 0:00:44
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement