We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28efc23 commit 11ca2efCopy full SHA for 11ca2ef
src/librustc/middle/resolve.rs
@@ -4741,8 +4741,8 @@ pub impl Resolver {
4741
let mut j = this.value_ribs.len();
4742
while j != 0 {
4743
j -= 1;
4744
- for this.value_ribs[j].bindings.each_entry |e| {
4745
- vec::push(&mut maybes, copy *this.session.str_of(e.key));
+ for this.value_ribs[j].bindings.each_key |&k| {
+ vec::push(&mut maybes, copy *this.session.str_of(k));
4746
vec::push(&mut values, uint::max_value);
4747
}
4748
0 commit comments