@[instance_reducible]
Equations
Creates a hint for a missing (since := "...") clause that offers to append one with the current
date to the deprecation syntax stx. Returns the empty message if stx has no source position.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.Linter.setDeprecated {m : Type → Type} [Monad m] [MonadEnv m] [MonadError m] (declName : Name) (entry : DeprecationEntry) :
m Unit
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Linter.isDeprecated env declName = (Lean.Linter.deprecatedAttr.getParam? env declName).isSome
Instances For
Equations
- msg.isDeprecationWarning = Lean.MessageData.hasTag (fun (x : Lean.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?