Files
lean4/tests/server_interactive/5659.lean
Garmelon a3cb39eac9 chore: migrate more tests to new test suite (#12809)
This PR migrates most remaining tests to the new test suite. It also
completes the migration of directories like `tests/lean/run`, meaning
that PRs trying to add tests to those old directories will now fail.
2026-03-06 16:52:01 +00:00

14 lines
450 B
Lean4

/-!
# `rintro` and `intro` error message should point to excess arg
Below, the errors should point to `h` because there is no lambda it binds.
The error should not point to `hn`; it would be OKish to underline the whole line. -/
example : ( n : Nat, n < 0) False := by
rintro n, hn h
--^ collectDiagnostics
example : ( n : Nat, n < 0) False := by
intro n, hn h
--^ collectDiagnostics