blob: 78efec1879cc1f61a6f1adaaddd737fa148e5cbb [file]
/-!
Tests that `impossible by ...` provides the same hover / goal info as a regular
`by` block, via the term elaborator.
-/
example (n : Nat) : n = n + 1 := by
impossible by
--^ $/lean/plainGoal
intro h
--^ textDocument/hover
exact Nat.succ_ne_zero _ ((h 0).symm)
--^ textDocument/hover