Skip to content

Commit

Permalink
bury the ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed Dec 22, 2014
1 parent 202076e commit 63b864f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tree/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,8 +1033,8 @@ mod test {
expected: &'b [int],
}

impl<'a, 'b> FnMut(&int) -> bool for Counter<'a, 'b> {
extern "rust-call" fn call_mut(&mut self, (&x,): (&int,)) -> bool {
impl<'a, 'b, 'c> FnMut(&'c int) -> bool for Counter<'a, 'b> {
extern "rust-call" fn call_mut(&mut self, (&x,): (&'c int,)) -> bool {
assert_eq!(x, self.expected[*self.i]);
*self.i += 1;
true
Expand Down

0 comments on commit 63b864f

Please sign in to comment.