This PR improves the consistency of error message formatting by rendering addenda of several existing error messages as labeled notes and hints.
21 lines
390 B
Text
21 lines
390 B
Text
/-!
|
|
# Mentioning `set_option diagnostics true` depends on it not already being set
|
|
-/
|
|
|
|
/--
|
|
error: failed to synthesize
|
|
Coe Nat Int
|
|
|
|
Hint: Additional diagnostic information may be available using the `set_option diagnostics true` command.
|
|
-/
|
|
#guard_msgs in
|
|
#synth Coe Nat Int
|
|
|
|
set_option diagnostics true
|
|
|
|
/--
|
|
error: failed to synthesize
|
|
Coe Nat Int
|
|
-/
|
|
#guard_msgs in
|
|
#synth Coe Nat Int
|