Remove unused impl of GetDefId for Typedef
This commit is contained in:
parent
b987fd78c2
commit
1da8659fa6
1 changed files with 0 additions and 10 deletions
|
|
@ -2092,16 +2092,6 @@ crate struct Typedef {
|
|||
crate item_type: Option<Type>,
|
||||
}
|
||||
|
||||
impl GetDefId for Typedef {
|
||||
fn def_id(&self) -> Option<DefId> {
|
||||
self.type_.def_id()
|
||||
}
|
||||
|
||||
fn def_id_full(&self, cache: &Cache) -> Option<DefId> {
|
||||
self.type_.def_id_full(cache)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
crate struct OpaqueTy {
|
||||
crate bounds: Vec<GenericBound>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue