From 69bf389f42eec1a2d01579c8b0907cb1c2f45d7d Mon Sep 17 00:00:00 2001 From: Sean Patrick Santos Date: Fri, 27 Mar 2015 01:08:38 -0600 Subject: [PATCH] Workaround false positive error from pretty print test. --- src/test/run-pass/associated-const-marks-live-code.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-pass/associated-const-marks-live-code.rs b/src/test/run-pass/associated-const-marks-live-code.rs index 586261bb6bcbb..ea91a95312983 100644 --- a/src/test/run-pass/associated-const-marks-live-code.rs +++ b/src/test/run-pass/associated-const-marks-live-code.rs @@ -20,6 +20,6 @@ impl Foo { const BAR: u32 = GLOBAL_BAR; } -fn main() { +pub fn main() { let _: u32 = Foo::BAR; }