From bdcb9d9b531c8dc6962d854edfeeeeb9477b40b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 13 Jan 2011 23:19:42 -0500 Subject: Make lookup non recursive and instead move the recursion just to find_final_def. Use the fact that the recursion is in a simpler function to detected import loops and exit. --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index eac87bfd..6bb40a98 100644 --- a/src/Makefile +++ b/src/Makefile @@ -405,6 +405,7 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \ test/compile-fail/import.rs \ test/compile-fail/import2.rs \ test/compile-fail/import3.rs \ + test/compile-fail/import4.rs \ test/compile-fail/bad-recv.rs \ test/compile-fail/bad-send.rs \ test/compile-fail/infinite-vec-type-recursion.rs \ @@ -485,6 +486,7 @@ TEST_XFAILS_RUSTC := $(filter-out \ import.rs \ import2.rs \ import3.rs \ + import4.rs \ while-type-error.rs \ ), \ $(wildcard test/*/*.rs test/*/*.rc)) -- cgit v1.2.3