Auto merge of #3750 - h-michael:const-params, r=phansch
Fix failing build (adding new Hir::Def type ConstParam)
solves: #3749
related with:
- https://travis-ci.com/rust-lang/rust-clippy/jobs/176480646
- https://github.com/rust-lang/rust/pull/58191
- 29f7206366 (diff-c1e317a81486d937bbfc6edca1dee92aR55)
This commit is contained in:
commit
35e2e1bb75
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…
Add table
Add a link
Reference in a new issue