syntax: fix auto_encode test.

This commit is contained in:
Erick Tryzelaar 2013-03-30 13:24:52 -07:00
parent 9bbf384058
commit f364cf5463

View File

@ -1281,13 +1281,13 @@ mod test {
f();
}
fn emit_map<T>(&self, f: &fn(uint) -> T) -> T {
self.add_unknown_to_log(); f(0);
}
fn emit_map_elt_key<T>(&self, idx: uint, f: &fn() -> T) -> T {
fn emit_map(&self, _len: uint, f: &fn()) {
self.add_unknown_to_log(); f();
}
fn emit_map_elt_val<T>(&self, idx: uint, f: &fn() -> T) -> T {
fn emit_map_elt_key(&self, _idx: uint, f: &fn()) {
self.add_unknown_to_log(); f();
}
fn emit_map_elt_val(&self, _idx: uint, f: &fn()) {
self.add_unknown_to_log(); f();
}
}