mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 17:28:07 +00:00
Add new Def type ConstParam
This commit is contained in:
parent
e176324fc5
commit
66f8fa320b
1 changed files with 1 additions and 0 deletions
|
@ -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, ..)
|
||||
|
|
Loading…
Reference in a new issue