Created
August 22, 2018 15:49
-
-
Save richo/3985d79705c943487368ac312f3336ee 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
error[E0621]: explicit lifetime required in the type of `conn` | |
--> src/ptp_device.rs:24:19 | |
| | |
22 | pub fn reader<'a>(self, conn: &'a mut GoproConnection) -> GoproFileReader<'a> { | |
| ---- consider changing the type of `conn` to `&'a mut ptp_device::GoproConnection<'a>` | |
23 | GoproFileReader { | |
24 | conn: conn, | |
| ^^^^ lifetime `'a` required |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment