lean4-htt/tests/lean/297.lean.expected.out
Kim Morrison da32bdd79c
chore: additional newline before 'additional diagnostic information' message (#7169)
This PR adds an addition newline before the "Additional diagnostic
information may be available using the `set_option ... true` command."
messages, to provide better visual separation from the main error
message.
2025-02-23 23:27:33 +00:00

7 lines
329 B
Text

297.lean:1:10-1:11: error: failed to synthesize
OfNat (Sort ?u) 0
numerals are polymorphic in Lean, but the numeral `0` cannot be used in a context where the expected type is
Sort ?u
due to the absence of the instance above
Additional diagnostic information may be available using the `set_option diagnostics true` command.