mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
librustc: Shot in the dark to try to unbreak Windows. rs=me
This commit is contained in:
parent
33c1e47c1b
commit
c0d3b291d5
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user