Skip to content

Instantly share code, notes, and snippets.

@wunki
Created October 31, 2014 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wunki/6c56dc3e6e1cd943fd0e to your computer and use it in GitHub Desktop.
Save wunki/6c56dc3e6e1cd943fd0e to your computer and use it in GitHub Desktop.
Compiling plugin v0.0.0 (https://github.com/reem/rust-plugin.git#9564d448)
src/lib.rs:25:36: 25:44 error: cannot convert to a trait object because trait `Error` is not object-safe [E0038]
src/lib.rs:25 fn erase(self) -> Box<Error> { box self as Box<Error> }
^~~~~~~~
note: cannot call a method (`unwrap`) with a by-value receiver through a trait object
note: cannot call a method (`erase`) with a by-value receiver through a trait object
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
src/lib.rs:2:9: 2:20 warning: lint missing_doc has been renamed to missing_docs
src/lib.rs:2 #![deny(missing_doc)]
^~~~~~~~~~~
Could not compile `error`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment