oldmap: get rid of legacy _ref suffixes

This commit is contained in:
Daniel Micay
2013-02-08 17:08:02 -05:00
parent f529af0d50
commit a32c5c73ee
49 changed files with 135 additions and 137 deletions

View File

@@ -363,7 +363,7 @@ pub fn require_unique_names(diagnostic: span_handler,
let name = get_meta_item_name(*meta);
// FIXME: How do I silence the warnings? --pcw (#2619)
if map.contains_key_ref(&name) {
if map.contains_key(&name) {
diagnostic.span_fatal(meta.span,
fmt!("duplicate meta item `%s`", name));
}