librustc: Shot in the dark to try to unbreak Windows. rs=me

This commit is contained in:
Patrick Walton 2012-12-04 16:03:50 -08:00
parent 33c1e47c1b
commit c0d3b291d5

View file

@ -43,7 +43,7 @@ impl infer_ctxt {
match (*var_val) {
redirect(ref vid) => {
let node = self.get(vb, (*vid));
if node.root != (*vid) {
if node.root.ne(vid) {
// Path compression
vb.vals.insert((*vid).to_uint(), redirect(node.root));
}