This replaces the no-op `unusedVariablesIgnoreFnsExt` environment extension with an actual environment extension which can be extended using either `@[unused_variables_ignore_fn]` or `@[builtin_unused_variables_ignore_fn]` (although for the present all the builtin `unused_variables_ignore_fn`s are being added using direct calls to `builtin_initialize addBuiltinUnusedVariablesIgnoreFn`, because this also works and a stage0 update is required before the attribute can be used). We would like to use this attribute to disable unused variables in syntaxes defined in std and mathlib, like [`proof_wanted`](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/Unused.20variables.20and.20proof_wanted/near/408554690). |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lean-toolchain | ||