librustc: fix fallout

This commit is contained in:
Jorge Aparicio 2014-12-06 17:55:55 -05:00
parent 594ff51b23
commit 01d2e46a2d

View file

@ -212,7 +212,9 @@ fn get_provided_source(d: rbml::Doc, cdata: Cmd) -> Option<ast::DefId> {
})
}
fn each_reexport(d: rbml::Doc, f: |rbml::Doc| -> bool) -> bool {
fn each_reexport<F>(d: rbml::Doc, f: F) -> bool where
F: FnMut(rbml::Doc) -> bool,
{
reader::tagged_docs(d, tag_items_data_item_reexport, f)
}