Handle TyForeign

This commit is contained in:
Manish Goregaokar 2017-10-29 05:21:25 -04:00
parent 09143cdaf0
commit f76225e388

View file

@ -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) |