Remove unused code from rustc_hir
This commit is contained in:
parent
feaac592a3
commit
6897619d6d
4 changed files with 0 additions and 86 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue