-
-
Save durka/7d32673e6140d432f4cbf1fe4161567d to your computer and use it in GitHub Desktop.
This file contains hidden or 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: `matches` does not live long enough | |
| --> src/bin/transfer.rs:89:16 | |
| | | |
| 89 | let dest = matches.value_of("DEST").unwrap(); | |
| | ^^^^^^^ does not live long enough | |
| ... | |
| 214 | } | |
| | - borrowed value only lives until here | |
| | | |
| = note: borrowed value must be valid for the static lifetime... | |
| error: aborting due to previous error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment