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