mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
commit
c95c7c87b1
@ -180,10 +180,8 @@ impl<A> DVec<A> {
|
|||||||
data <-> self.data;
|
data <-> self.data;
|
||||||
let data_ptr: *() = cast::reinterpret_cast(&data);
|
let data_ptr: *() = cast::reinterpret_cast(&data);
|
||||||
if data_ptr.is_null() { fail ~"Recursive use of dvec"; }
|
if data_ptr.is_null() { fail ~"Recursive use of dvec"; }
|
||||||
log(error, ~"a");
|
|
||||||
self.data = move ~[move t];
|
self.data = move ~[move t];
|
||||||
self.data.push_all_move(move data);
|
self.data.push_all_move(move data);
|
||||||
log(error, ~"b");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user