From 3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 12 May 2011 17:24:54 +0200 Subject: Downcase std modules again, move to :: for module dereferencing This should be a snapshot transition. --- src/test/compile-fail/bad-expr-path2.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/compile-fail/bad-expr-path2.rs') diff --git a/src/test/compile-fail/bad-expr-path2.rs b/src/test/compile-fail/bad-expr-path2.rs index a2f58f8e..607c9173 100644 --- a/src/test/compile-fail/bad-expr-path2.rs +++ b/src/test/compile-fail/bad-expr-path2.rs @@ -1,4 +1,4 @@ -// error-pattern: can't refer to a module as a first-class value +// error-pattern: is a module, not a mod m1 { mod a { @@ -6,5 +6,5 @@ mod m1 { } fn main(vec[str] args) { - log m1.a; + log m1::a; } -- cgit v1.2.3