{motive : Lean.Lsp.DiagnosticCode → Sort u} →
  (t : Lean.Lsp.DiagnosticCode) →
    ((i : ℤ) → motive (Lean.Lsp.DiagnosticCode.int i)) →
      ((s : String) → motive (Lean.Lsp.DiagnosticCode.string s)) → motive t