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.

    Instances For
      def Lean.Linter.setDeprecated {m : Type → Type} [Monad m] [MonadEnv m] [MonadError m] (declName : Name) (entry : DeprecationEntry) :
      Instances For
        def Lean.Linter.isDeprecated (env : Environment) (declName : Name) :
        Instances For
          Instances For
            def Lean.Linter.checkDeprecated (declName : Name) (allowSuggestion : Bool) :
            Instances For