{motive : Mathlib.TacticAnalysis.TerminalReplacementOutcome✝ → Sort u} →
  (t : Mathlib.TacticAnalysis.TerminalReplacementOutcome✝¹) →
    Mathlib.TacticAnalysis.TerminalReplacementOutcome.ctorIdx✝ t = 2 →
      ((stx : Lean.TSyntax `tactic) →
          (msg : Lean.MessageData) → motive (Mathlib.TacticAnalysis.TerminalReplacementOutcome.error✝ stx msg)) →
        motive t