Equations
- Lean.Linter.instInhabitedDeprecationEntry = { default := { newName? := default, text? := default, since? := default } }
Equations
- Lean.Linter.isDeprecated env declName = (Lean.Linter.deprecatedAttr.getParam? env declName).isSome
Instances For
Equations
- msg.isDeprecationWarning = Lean.MessageData.hasTag (fun (x : Lake.Name) => x == `Lean.Linter.deprecatedAttr) msg
Instances For
Equations
- Lean.Linter.getDeprecatedNewName env declName = do let __do_lift ← Lean.Linter.deprecatedAttr.getParam? env declName __do_lift.newName?
Instances For
def
Lean.Linter.checkDeprecated
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[Lean.MonadLog m]
[Lean.AddMessageContext m]
[Lean.MonadOptions m]
(declName : Lake.Name)
:
m Unit
Equations
- One or more equations did not get rendered due to their size.