aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <[email protected]>2011-01-10 15:56:55 -0500
committerGraydon Hoare <[email protected]>2011-01-11 13:58:39 -0800
commitc5a766f13379e543d2721b610c8eb6f3beb2af69 (patch)
tree4e0857ddd4bd08c32a37470e4ee64c5b193b970c /src/Makefile
parentSketch support for reading multi-file crates in rustc. Add test, not yet work... (diff)
downloadrust-c5a766f13379e543d2721b610c8eb6f3beb2af69.tar.xz
rust-c5a766f13379e543d2721b610c8eb6f3beb2af69.zip
Fix two invalid import cases we were not detecting:
* If an import was unused we would never print any errors for it. * We would keep the existing environment in scope when descending 'foo.bar' and would find 'bar' in the global environment if there was no 'bar' in 'foo'.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 7127e4b1..2909882e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -402,6 +402,8 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \
test/run-pass/vec-slice.rs \
test/run-pass/while-and-do-while.rs \
test/run-fail/task-comm-14.rs \
+ test/compile-fail/import.rs \
+ test/compile-fail/import2.rs \
test/compile-fail/bad-recv.rs \
test/compile-fail/bad-send.rs \
test/compile-fail/infinite-vec-type-recursion.rs \
@@ -477,6 +479,8 @@ TEST_XFAILS_RUSTC := $(filter-out \
$(addprefix test/compile-fail/, \
arg-count-mismatch.rs \
arg-type-mismatch.rs \
+ import.rs \
+ import2.rs \
while-type-error.rs \
), \
$(wildcard test/*/*.rs test/*/*.rc))