about summary refs log tree commit diff
path: root/src/rustc/front/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustc/front/config.rs')
-rw-r--r--src/rustc/front/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/front/config.rs b/src/rustc/front/config.rs
index a044b45b3ae..c633cf5d2af 100644
--- a/src/rustc/front/config.rs
+++ b/src/rustc/front/config.rs
@@ -125,7 +125,7 @@ fn in_cfg(cfg: ast::crate_cfg, attrs: ~[ast::attribute]) -> bool {
 fn metas_in_cfg(cfg: ast::crate_cfg, metas: ~[@ast::meta_item]) -> bool {
 
     // The "cfg" attributes on the item
-    let cfg_metas = attr::find_meta_items_by_name(metas, "cfg");
+    let cfg_metas = attr::find_meta_items_by_name(metas, ~"cfg");
 
     // Pull the inner meta_items from the #[cfg(meta_item, ...)]  attributes,
     // so we can match against them. This is the list of configurations for