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 9bbf384 commit f364cf5Copy full SHA for f364cf5
src/libsyntax/ext/auto_encode.rs
@@ -1281,13 +1281,13 @@ mod test {
1281
f();
1282
}
1283
1284
- fn emit_map<T>(&self, f: &fn(uint) -> T) -> T {
1285
- self.add_unknown_to_log(); f(0);
+ fn emit_map(&self, _len: uint, f: &fn()) {
+ self.add_unknown_to_log(); f();
1286
1287
- fn emit_map_elt_key<T>(&self, idx: uint, f: &fn() -> T) -> T {
+ fn emit_map_elt_key(&self, _idx: uint, f: &fn()) {
1288
self.add_unknown_to_log(); f();
1289
1290
- fn emit_map_elt_val<T>(&self, idx: uint, f: &fn() -> T) -> T {
+ fn emit_map_elt_val(&self, _idx: uint, f: &fn()) {
1291
1292
1293
0 commit comments