aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/bad-expr-path2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/bad-expr-path2.rs')
-rw-r--r--src/test/compile-fail/bad-expr-path2.rs4
1 files changed, 2 insertions, 2 deletions
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;
}