chore: remove superfluous whitespace from error message (#9335)

This PR fixes a typo that caused the "cannot infer resulting universe
level of inductive datatype" error message to have leading whitespace.
This commit is contained in:
jrr6 2025-07-12 19:04:02 -04:00 committed by GitHub
parent 243bbd74a5
commit 8dfc71c4fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -487,7 +487,7 @@ def shouldInferResultUniverse (u : Level) : TermElabM (Option LMVarId) := do
match u.getLevelOffset with
| Level.mvar mvarId => return some mvarId
| _ =>
throwError "
throwError "\
cannot infer resulting universe level of inductive datatype, \
given resulting type contains metavariables{indentExpr <| mkSort u}\n\
provide universe explicitly"