This warning does not happen when using the syntax axiom Foo : (a : Nat) → Prop. (This is supposed to be an exception to the usual unused variable rules because it is a function signature variable, visible in the docstring and also accessible via the Foo (a := 0) syntax.)
Occurs on latest nightly (leanprover/lean4:nightly-2024-11-24).
This warning does not happen when using the syntax
axiom Foo : (a : Nat) → Prop
. (This is supposed to be an exception to the usual unused variable rules because it is a function signature variable, visible in the docstring and also accessible via theFoo (a := 0)
syntax.)Occurs on latest nightly (
leanprover/lean4:nightly-2024-11-24
).