Created
August 1, 2018 11:30
-
-
Save rbuckland/40cd5e93685fb1b8761c8de91219a25b 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
21:05 $ cargo build | |
Compiling markdown_tools v0.4.0 (file:///home/rbuckland/projects/internal/github.com/inosion/markdown-tools) | |
error[E0597]: `vfilts` does not live long enough====================> ] 70/72: markdown_tools | |
--> src/lib.rs:126:82 | |
| | |
126 | Some(vfilts) => Box::new(data.iter().filter(|row| filter_tablerows(row, &vfilts))), | |
| ----- capture occurs here ^^^^^^ borrowed value does not live long enough | |
127 | }; | |
| - borrowed value only lives until here | |
... | |
144 | } | |
| - borrowed value needs to live until here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment