Last active
August 29, 2015 13:56
-
-
Save cgaebel/8910018 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
| oxidize: x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd | |
| :1015:25: 1015:30 error: cannot borrow `*self` because it is already borrowed as mutable | |
| :1015 let probe = self.probe(hash, dib); | |
| : ^~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `*self` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `*self` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1017:29: 1017:39 error: cannot borrow `(*self).table` because it is already borrowed as mutable | |
| :1017 let idx = match self.table.peek(probe) { | |
| : ^~~~~~~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `(*self).table` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `(*self).table` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1020:36: 1020:46 error: cannot borrow `(*self).table` because it is already borrowed as mutable | |
| :1020 let fullidx = self.table.put(idx, hash, k, v); | |
| : ^~~~~~~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `(*self).table` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `(*self).table` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1021:36: 1021:46 error: cannot borrow `(*self).table` because it is already borrowed as mutable | |
| :1021 let (_, val) = self.table.read_mut(&fullidx); | |
| : ^~~~~~~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `(*self).table` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `(*self).table` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1028:44: 1028:54 error: cannot borrow `(*self).table` because it is already borrowed as mutable | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `(*self).table` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `(*self).table` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1035:29: 1035:34 error: cannot borrow `*self` because it is already borrowed as mutable | |
| :1035 let probe_dib = self.bucket_distance(&idx); | |
| : ^~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `*self` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `*self` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1039:17: 1039:22 error: cannot borrow `*self` because it is already borrowed as mutable | |
| :1039 self.robin_hood(idx, probe_dib, hash, k, v); | |
| : ^~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `*self` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `*self` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1043:23: 1043:33 error: cannot borrow `(*self).table` because it is already borrowed as mutable | |
| :1043 match self.table.peek(probe) { | |
| : ^~~~~~~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `(*self).table` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `(*self).table` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| :1046:38: 1046:48 error: cannot borrow `(*self).table` because it is already borrowed as mutable | |
| :1046 let (_, v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1028:44: 1028:54 note: previous borrow of `(*self).table` as mutable occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `(*self).table` until the borrow ends | |
| :1028 let (bucket_k, bucket_v) = self.table.read_mut(&idx); | |
| : ^~~~~~~~~~ | |
| :1055:6: 1055:6 note: previous borrow ends here | |
| :1012 &'a mut self, hash: u64, k: K, v: V) -> &'a mut V { | |
| :1055 } | |
| : ^ | |
| error: aborting due to 9 previous errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment