From 3f2434eee3f7fa72bf7a8693aef3932d563cf8d5 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 12 Mar 2014 10:31:52 -0700 Subject: [PATCH] Test fixes from rolling up PRs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #12803 (std: Relax an assertion in oneshot selection) r=brson Closes #12818 (green: Fix a scheduler assertion on yielding) r=brson Closes #12819 (doc: discuss try! in std::io) r=alexcrichton Closes #12820 (Use generic impls for `Hash`) r=alexcrichton Closes #12826 (Remove remaining nolink usages) r=alexcrichton Closes #12835 (Emacs: always jump the cursor if needed on indent) r=brson Closes #12838 (Json method cleanup) r=alexcrichton Closes #12843 (rustdoc: whitelist the headers that get a ยง on hover) r=alexcrichton Closes #12844 (docs: add two unlisted libraries to the index page) r=pnkfelix Closes #12846 (Added a test that checks that unary structs can be mutably borrowed) r=sfackler Closes #12847 (mk: Fix warnings about duplicated rules) r=nmatsakis --- mk/docs.mk | 4 ++-- src/test/run-pass/issue-11267.rs | 4 ++-- 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) { println!("{}", a.next()) } -fn main() { +pub fn main() { do_something_with(&mut Empty); -} \ No newline at end of file +}