Skip to content

Instantly share code, notes, and snippets.

@vadixidav
Created November 15, 2015 03:05
Show Gist options
  • Save vadixidav/5261b545780f0e4c7f1f to your computer and use it in GitHub Desktop.
Save vadixidav/5261b545780f0e4c7f1f to your computer and use it in GitHub Desktop.
src/mep.rs:105:18: 105:22 error: cannot infer an appropriate lifetime for automatic coercion due to conflicting requirements
src/mep.rs:105 mep: self,
^~~~
src/mep.rs:104:9: 104:17 note: first, the lifetime cannot outlive the expression at 104:8...
src/mep.rs:104 Box::new(ResultIterator{
^~~~~~~~
src/mep.rs:104:9: 104:17 note: ...so that a type/lifetime parameter is in scope here
src/mep.rs:104 Box::new(ResultIterator{
^~~~~~~~
src/mep.rs:105:18: 105:22 note: but, the lifetime must be valid for the expression at 105:17...
src/mep.rs:105 mep: self,
^~~~
src/mep.rs:105:18: 105:22 note: ...so that auto-reference is valid at the time of borrow
src/mep.rs:105 mep: self,
^~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment