diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2014-12-06 17:55:55 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2014-12-13 17:03:46 -0500 |
| commit | 01d2e46a2d952c65071b363701faa6eea952d55f (patch) | |
| tree | 02f1e3034ee1fff7b07336f5eed1fea5dc168d79 /src | |
| parent | 594ff51b237299565a79de323aa1ba390190e28a (diff) | |
| download | rust-01d2e46a2d952c65071b363701faa6eea952d55f.tar.gz rust-01d2e46a2d952c65071b363701faa6eea952d55f.zip | |
librustc: fix fallout
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/metadata/decoder.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc/metadata/decoder.rs b/src/librustc/metadata/decoder.rs index 898f5d2ef93..2000c4e1abe 100644 --- a/src/librustc/metadata/decoder.rs +++ b/src/librustc/metadata/decoder.rs @@ -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) } |
