diff options
Diffstat (limited to 'kernel/term_typing.ml')
| -rw-r--r-- | kernel/term_typing.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/term_typing.ml b/kernel/term_typing.ml index 437f7b8321..f38ad47420 100644 --- a/kernel/term_typing.ml +++ b/kernel/term_typing.ml @@ -112,7 +112,7 @@ let check_projection env kn inst body = let ctx, m = decompose_lam_assum body in let () = if not (isCase m) then cannot_recognize () in let ci, p, c, b = destCase m in - let (mib, oib as specif) = Inductive.lookup_mind_specif env ci.ci_ind in + let (mib, oib as _specif) = Inductive.lookup_mind_specif env ci.ci_ind in let recinfo = match mib.mind_record with | None -> error ("Trying to declare a primitive projection for a non-record inductive type") |
