Add new Def type ConstParam

This commit is contained in:
Hirokazu Hata 2019-02-09 11:42:13 +09:00
parent e176324fc5
commit 66f8fa320b

View file

@ -997,6 +997,7 @@ pub fn opt_def_id(def: Def) -> Option<DefId> {
| Def::TyAlias(id)
| Def::AssociatedTy(id)
| Def::TyParam(id)
| Def::ConstParam(id)
| Def::ForeignTy(id)
| Def::Struct(id)
| Def::StructCtor(id, ..)