From ae26b775b4ae4a1405effefb015ec44f0311c29f Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Fri, 13 May 2011 16:46:20 +0200 Subject: Implement module namespaces Module names no longer clash with type and value names. The tokenizer/parser still needs to be taught to be more careful in identifying keywords, so that we can use 'str' and 'vec' and so as module names. --- src/test/compile-fail/bad-expr-path2.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 607c9173..1ace6295 100644 --- a/src/test/compile-fail/bad-expr-path2.rs +++ b/src/test/compile-fail/bad-expr-path2.rs @@ -1,4 +1,6 @@ -// error-pattern: is a module, not a +// xfail-boot +// xfail-stage0 +// error-pattern: unresolved name: a mod m1 { mod a { -- cgit v1.2.3