aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/creader.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-05-09 17:49:19 -0700
committerGraydon Hoare <[email protected]>2011-05-09 17:50:06 -0700
commit4539f8a03cfa85fae97140687bc8ed2e48d91a65 (patch)
treef2ec0e7aec963b1ed58304567b30d0c7bc8494ab /src/comp/front/creader.rs
parentrustc: Give our upcall definitions the right values (diff)
downloadrust-4539f8a03cfa85fae97140687bc8ed2e48d91a65.tar.xz
rust-4539f8a03cfa85fae97140687bc8ed2e48d91a65.zip
Alias-ify fold and its users, remove another 85kb.
Diffstat (limited to 'src/comp/front/creader.rs')
-rw-r--r--src/comp/front/creader.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs
index 75d83713..832ef131 100644
--- a/src/comp/front/creader.rs
+++ b/src/comp/front/creader.rs
@@ -441,9 +441,10 @@ fn load_crate(session.session sess,
fail;
}
-fn fold_view_item_use(&env e, &span sp, ast.ident ident,
- vec[@ast.meta_item] meta_items, ast.def_id id, Option.t[int] cnum_opt)
- -> @ast.view_item {
+fn fold_view_item_use(&env e, &span sp, &ast.ident ident,
+ &vec[@ast.meta_item] meta_items,
+ &ast.def_id id, &Option.t[int] cnum_opt)
+ -> @ast.view_item {
auto cnum;
if (!e.crate_cache.contains_key(ident)) {
cnum = e.next_crate_num;