aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/creader.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs
index c8b31159..cdbafe5a 100644
--- a/src/comp/front/creader.rs
+++ b/src/comp/front/creader.rs
@@ -459,12 +459,11 @@ fn fold_view_item_use(&env e, &span sp, ast.ident ident,
// Reads external crates referenced by "use" directives.
fn read_crates(session.session sess,
- @ast.crate crate,
- vec[str] library_search_paths) -> @ast.crate {
+ @ast.crate crate) -> @ast.crate {
auto e = @rec(
sess=sess,
[email protected]_str_hash[int](),
- library_search_paths=library_search_paths,
+ library_search_paths=sess.get_opts().library_search_paths,
mutable next_crate_num=1
);