about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/docs.mk4
-rw-r--r--src/test/run-pass/issue-11267.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/docs.mk b/mk/docs.mk
index 94119576307..5b9e8407a58 100644
--- a/mk/docs.mk
+++ b/mk/docs.mk
@@ -148,8 +148,8 @@ endef
 $(foreach docname,$(PDF_DOCS),$(eval $(call DEF_SHOULD_BUILD_PDF_DOC,$(docname))))
 
 doc/footer.tex: $(D)/footer.inc | doc/
-	@$$(call E, pandoc: $$@)
-	$$(CFG_PANDOC) --from=html --to=latex $$< --output=$$@
+	@$(call E, pandoc: $@)
+	$(CFG_PANDOC) --from=html --to=latex $< --output=$@
 
 define DEF_DOC
 
diff --git a/src/test/run-pass/issue-11267.rs b/src/test/run-pass/issue-11267.rs
index 15403f5df81..53659a72132 100644
--- a/src/test/run-pass/issue-11267.rs
+++ b/src/test/run-pass/issue-11267.rs
@@ -20,6 +20,6 @@ fn do_something_with(a : &mut Iterator<int>) {
     println!("{}", a.next())
 }
 
-fn main() {
+pub fn main() {
     do_something_with(&mut Empty);
-}
\ No newline at end of file
+}