Created
April 14, 2014 17:54
-
-
Save Leonidas-from-XIV/10669376 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
| sort.rs:179:5: 179:16 error: use of moved value: `write_cache` | |
| sort.rs:179 write_cache.push(number); | |
| ^~~~~~~~~~~ | |
| sort.rs:181:31: 181:42 note: `write_cache` moved here because it has type `std::vec::Vec<u64>`, which is non-copyable (perhaps you meant to use clone()?) | |
| sort.rs:181 write_u64(&mut fdOutput, write_cache); | |
| ^~~~~~~~~~~ | |
| sort.rs:180:8: 180:19 error: use of moved value: `write_cache` | |
| sort.rs:180 if write_cache.len() >= items_per_run { | |
| ^~~~~~~~~~~ | |
| sort.rs:181:31: 181:42 note: `write_cache` moved here because it has type `std::vec::Vec<u64>`, which is non-copyable (perhaps you meant to use clone()?) | |
| sort.rs:181 write_u64(&mut fdOutput, write_cache); | |
| ^~~~~~~~~~~ | |
| sort.rs:181:31: 181:42 error: use of moved value: `write_cache` | |
| sort.rs:181 write_u64(&mut fdOutput, write_cache); | |
| ^~~~~~~~~~~ | |
| sort.rs:181:31: 181:42 note: `write_cache` moved here because it has type `std::vec::Vec<u64>`, which is non-copyable (perhaps you meant to use clone()?) | |
| sort.rs:181 write_u64(&mut fdOutput, write_cache); | |
| ^~~~~~~~~~~ | |
| sort.rs:182:6: 182:17 error: use of moved value: `write_cache` | |
| sort.rs:182 write_cache.clear(); | |
| ^~~~~~~~~~~ | |
| sort.rs:181:31: 181:42 note: `write_cache` moved here because it has type `std::vec::Vec<u64>`, which is non-copyable (perhaps you meant to use clone()?) | |
| sort.rs:181 write_u64(&mut fdOutput, write_cache); | |
| ^~~~~~~~~~~ | |
| sort.rs:185:37: 185:48 error: use of moved value: `write_cache` | |
| sort.rs:185 None => write_u64(&mut fdOutput, write_cache), | |
| ^~~~~~~~~~~ | |
| sort.rs:181:31: 181:42 note: `write_cache` moved here because it has type `std::vec::Vec<u64>`, which is non-copyable (perhaps you meant to use clone()?) | |
| sort.rs:181 write_u64(&mut fdOutput, write_cache); | |
| ^~~~~~~~~~~ | |
| error: aborting due to 5 previous errors |
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
| fn write_u64(to: &mut File, items: Vec<u64>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment