set_option linter.deprecatedCoercions true enables a linter emitting warnings on deprecated
coercions.
def
Lean.Linter.Coe.shouldWarnOnDeprecatedCoercions
{m : Type → Type}
[Monad m]
[MonadOptions m]
:
m Bool
Checks whether the "deprecated coercions" linter is enabled.
Equations
Instances For
A list of coercion names that must not be used in core.
Equations
Instances For
Validates that no coercions are used that are either deprecated or are banned in core.