Rename pkgid to crate_id

Closes #11035
This commit is contained in:
Corey Richardson
2013-12-17 16:40:33 -05:00
parent b6933f8d8b
commit dee1107571
60 changed files with 72 additions and 56 deletions

View File

@@ -237,7 +237,7 @@ pub fn find_linkage_metas(attrs: &[Attribute]) -> ~[@MetaItem] {
}
pub fn find_pkgid(attrs: &[Attribute]) -> Option<PkgId> {
match first_attr_value_str_by_name(attrs, "pkgid") {
match first_attr_value_str_by_name(attrs, "crate_id") {
None => None,
Some(id) => from_str::<PkgId>(id),
}