about summary refs log tree commit diff
path: root/src/comp/front
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-10-10 13:54:03 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-10-10 16:01:51 +0200
commit33167f7decfdc70c9dca6c41f80883f12c13cfbc (patch)
tree6a7b610fe6af5bd7e1ff81c54e63a580505f32d2 /src/comp/front
parentb4bae8fea5943a0b95a1a9be13a8155ee45418b7 (diff)
Adjust function signatures to allow for vecs being immediate
Some code was relying on vectors being implicitly by-reference (as
non-immediate value). This adds the necessary &&-sigils.

Closes #1021
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/config.rs b/src/comp/front/config.rs
index 7d1c6eea7ae..676f77c95b3 100644
--- a/src/comp/front/config.rs
+++ b/src/comp/front/config.rs
@@ -98,7 +98,7 @@ fn in_cfg(cfg: ast::crate_cfg, attrs: [ast::attribute]) -> bool {
     // so we can match against them. This is the list of configurations for
     // which the item is valid
     let item_cfg_metas = {
-        fn extract_metas(inner_items: [@ast::meta_item],
+        fn extract_metas(&&inner_items: [@ast::meta_item],
                          &&cfg_item: @ast::meta_item) -> [@ast::meta_item] {
             alt cfg_item.node {
               ast::meta_list(name, items) {