From ace2c92a96eb4ac46913305854235592aa9207ae Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 28 Mar 2011 14:42:01 -0700 Subject: rustc: Populate the item types table with types of items from external crates; remove the redundant typeck.ty_and_params type on the way --- src/comp/front/creader.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/comp/front/creader.rs') diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs index 9a7cc0b4..7dac3367 100644 --- a/src/comp/front/creader.rs +++ b/src/comp/front/creader.rs @@ -9,7 +9,6 @@ import lib.llvm.mk_section_iter; import middle.fold; import middle.metadata; import middle.ty; -import middle.typeck; import back.x86; import util.common; import util.common.span; @@ -522,7 +521,7 @@ fn lookup_def(session.session sess, &span sp, int cnum, vec[ast.ident] path) fail; } -fn get_type(session.session sess, ast.def_id def) -> typeck.ty_and_params { +fn get_type(session.session sess, ast.def_id def) -> ty.ty_params_and_ty { // FIXME: fill in. fail; } -- cgit v1.2.3