Restrict access to crate_name.
Also remove original_crate_name, which had the exact same implementation
This commit is contained in:
@@ -1247,10 +1247,6 @@ rustc_queries! {
|
||||
eval_always
|
||||
desc { "looking up the hash of a host version of a crate" }
|
||||
}
|
||||
query original_crate_name(_: CrateNum) -> Symbol {
|
||||
eval_always
|
||||
desc { "looking up the original name a crate" }
|
||||
}
|
||||
query extra_filename(_: CrateNum) -> String {
|
||||
eval_always
|
||||
desc { "looking up the extra filename for a crate" }
|
||||
|
||||
Reference in New Issue
Block a user