mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
Handle TyForeign
This commit is contained in:
parent
09143cdaf0
commit
f76225e388
@ -924,6 +924,7 @@ pub fn opt_def_id(def: Def) -> Option<DefId> {
|
||||
Def::TyAlias(id) |
|
||||
Def::AssociatedTy(id) |
|
||||
Def::TyParam(id) |
|
||||
Def::TyForeign(id) |
|
||||
Def::Struct(id) |
|
||||
Def::StructCtor(id, ..) |
|
||||
Def::Union(id) |
|
||||
|
Loading…
Reference in New Issue
Block a user