Remove unused code from rustc_hir

This commit is contained in:
est31 2020-10-09 11:22:08 +02:00
parent feaac592a3
commit 6897619d6d
4 changed files with 0 additions and 86 deletions

View file

@ -188,10 +188,6 @@ pub struct DefPath {
}
impl DefPath {
pub fn is_local(&self) -> bool {
self.krate == LOCAL_CRATE
}
pub fn make<FN>(krate: CrateNum, start_index: DefIndex, mut get_key: FN) -> DefPath
where
FN: FnMut(DefIndex) -> DefKey,