about summary refs log tree commit diff
path: root/src/rustdoc/markdown_index_pass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustdoc/markdown_index_pass.rs')
-rw-r--r--src/rustdoc/markdown_index_pass.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustdoc/markdown_index_pass.rs b/src/rustdoc/markdown_index_pass.rs
index ca2f352d15c..cf97308fd0e 100644
--- a/src/rustdoc/markdown_index_pass.rs
+++ b/src/rustdoc/markdown_index_pass.rs
@@ -226,6 +226,7 @@ fn should_index_foreign_mod_contents() {
 
 #[cfg(test)]
 mod test {
+    #[legacy_exports];
     fn mk_doc(output_style: config::OutputStyle, source: ~str) -> doc::Doc {
         do astsrv::from_str(source) |srv| {
             let config = {