Skip to content

Commit 11ca2ef

Browse files
committed
turn std::oldmap into a wrapper around LinearMap
1 parent 28efc23 commit 11ca2ef

File tree

3 files changed

+33
-342
lines changed

3 files changed

+33
-342
lines changed

src/librustc/middle/resolve.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4741,8 +4741,8 @@ pub impl Resolver {
47414741
let mut j = this.value_ribs.len();
47424742
while j != 0 {
47434743
j -= 1;
4744-
for this.value_ribs[j].bindings.each_entry |e| {
4745-
vec::push(&mut maybes, copy *this.session.str_of(e.key));
4744+
for this.value_ribs[j].bindings.each_key |&k| {
4745+
vec::push(&mut maybes, copy *this.session.str_of(k));
47464746
vec::push(&mut values, uint::max_value);
47474747
}
47484748
}

0 commit comments

Comments
 (0)