aboutsummaryrefslogtreecommitdiff
path: root/src/Util/ForLoop/Unrolling.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-06-02 00:01:35 -0400
committerGravatar Jason Gross <jasongross9@gmail.com>2017-06-05 18:47:35 -0400
commit7488682db4cf259e0bb0c886e13301c32a2eeaa2 (patch)
tree9baf80699c9f00b01d3180504d58351b6ecc0f33 /src/Util/ForLoop/Unrolling.v
parentc4a0d1fdde22dbd2faaa1753e973ee9602076ee8 (diff)
Don't rely on autogenerated names
This fixes all of the private-names warnings emitted by compiling fiat-crypto with https://github.com/coq/coq/pull/268 (minus the ones in coqprime, which I didn't touch).
Diffstat (limited to 'src/Util/ForLoop/Unrolling.v')
-rw-r--r--src/Util/ForLoop/Unrolling.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Util/ForLoop/Unrolling.v b/src/Util/ForLoop/Unrolling.v
index e0518f39a..95b46e711 100644
--- a/src/Util/ForLoop/Unrolling.v
+++ b/src/Util/ForLoop/Unrolling.v
@@ -31,7 +31,7 @@ Section with_body.
: repeat_function body (S count) st
= body 1 (repeat_function (fun count => body (S count)) count st).
Proof using Type.
- revert st; induction count; [ reflexivity | ].
+ revert st; induction count as [|? IHcount]; [ reflexivity | ].
intros; simpl in *; rewrite <- IHcount; reflexivity.
Qed.