Skip to content

Commit

Permalink
Add new Def type ConstParam
Browse files Browse the repository at this point in the history
  • Loading branch information
h-michael committed Feb 9, 2019
1 parent e176324 commit 66f8fa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, ..)
Expand Down

0 comments on commit 66f8fa3

Please sign in to comment.