Skip to content

Instantly share code, notes, and snippets.

@daboross
Created December 16, 2014 01:25
Show Gist options
  • Save daboross/c3ab40c3b3cb34be8583 to your computer and use it in GitHub Desktop.
Save daboross/c3ab40c3b3cb34be8583 to your computer and use it in GitHub Desktop.
Compiling simple-logging v0.0.1 (file:///home/daboross/Projects/Rust/simple-logging)
/home/daboross/Projects/Rust/simple-logging/src/loggers.rs:65:21: 65:27 error: the trait `for<r> core::ops::Fn<(&r str,), collections::string::String>` is not implemented for the type `Box<core::ops::Fn<(&str,), collections::string::String>+Send>`
/home/daboross/Projects/Rust/simple-logging/src/loggers.rs:65 format: format,
^~~~~~
/home/daboross/Projects/Rust/simple-logging/src/loggers.rs:65:21: 65:27 note: the trait `core::ops::Fn` must be implemented for the cast to the object type `core::ops::Fn<(&str,), collections::string::String>+Send`
/home/daboross/Projects/Rust/simple-logging/src/loggers.rs:65 format: format,
^~~~~~
error: aborting due to previous error
Could not compile `simple-logging`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment