Fix build on nightly

https://github.com/rust-lang/rust/pull/27857
This commit is contained in:
Simon Bernier St-Pierre 2015-08-25 17:37:48 -04:00
parent 393a151ab3
commit 6adb6a1d1a

View File

@ -160,7 +160,7 @@ fn visit_fn(&mut self,
codemap::mk_sp(s.lo, b.span.lo));
self.buffer.push_str(&new_fn);
}
visit::FkFnBlock(..) => {}
visit::FkClosure(..) => {}
}
self.last_pos = b.span.lo;