Created
March 21, 2015 23:41
-
-
Save jaredonline/c5a58d7ba6762e42e544 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
src/game.rs:110:32: 110:61 error: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements | |
src/game.rs:110 self.game_state.render(&mut self.rendering_component, &mut self.maps, &mut self.windows); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/game.rs:110:32: 110:61 note: first, the lifetime cannot outlive the expression at 110:31... | |
src/game.rs:110 self.game_state.render(&mut self.rendering_component, &mut self.maps, &mut self.windows); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/game.rs:110:32: 110:61 note: ...so that reference is valid at the time of borrow | |
src/game.rs:110 self.game_state.render(&mut self.rendering_component, &mut self.maps, &mut self.windows); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/game.rs:110:9: 110:97 note: but, the lifetime must be valid for the method call at 110:8... | |
src/game.rs:110 self.game_state.render(&mut self.rendering_component, &mut self.maps, &mut self.windows); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/game.rs:110:32: 110:61 note: ...so that argument is valid for the call | |
src/game.rs:110 self.game_state.render(&mut self.rendering_component, &mut self.maps, &mut self.windows); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment