Created
November 17, 2014 16:10
-
-
Save jaredonline/89e5d9ab5787981f45ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling dwemthys v0.0.1 (file:///Users/jmcfarland/code/rust/dwemthys) | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22:18: 22:53 error: cannot infer an appropriate lifetime for autoref due to conflicting requirements | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22 let mc = self.movement_component.box_clone(); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22:18: 22:41 note: first, the lifetime cannot outlive the expression at 22:17... | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22 let mc = self.movement_component.box_clone(); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22:18: 22:41 note: ...so that auto-reference is valid at the time of borrow | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22 let mc = self.movement_component.box_clone(); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22:18: 22:53 note: but, the lifetime must be valid for the method call at 22:17... | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22 let mc = self.movement_component.box_clone(); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22:18: 22:41 note: ...so that method receiver is valid for the method call | |
/Users/jmcfarland/code/rust/dwemthys/src/actor.rs:22 let mc = self.movement_component.box_clone(); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
error: aborting due to previous error | |
Could not compile `dwemthys`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment