Documentation

Lean.Linter.Deprecated

Instances For

    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) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Lean.Linter.isDeprecated (env : Environment) (declName : Name) :
        Equations
        Instances For
          Equations
          Instances For
            Equations
            Instances For
              def Lean.Linter.checkDeprecated (declName : Name) (allowSuggestion : Bool) :
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For