It is confusing that the message suggesting to use the `diagnostics` option is given even when the option is already set. This PR makes use of lazy message data to make the message contingent on the option being false. It also tones down the promise that there is any diagonostic information available, since sometimes there is nothing to report. Suggested by Johan Commelin.
12 lines
494 B
Text
12 lines
494 B
Text
setLit.lean:22:19-22:21: error: overloaded, errors
|
|
failed to synthesize
|
|
EmptyCollection String
|
|
Additional diagnostic information may be available by using the `set_option diagnostics true` command.
|
|
|
|
fields missing: 'data'
|
|
setLit.lean:24:31-24:38: error: overloaded, errors
|
|
failed to synthesize
|
|
Singleton Nat String
|
|
Additional diagnostic information may be available by using the `set_option diagnostics true` command.
|
|
|
|
24:33 'val' is not a field of structure 'String'
|