May 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17400

          Issue ID: 17400
           Summary: put a new line before "candidates are:" in error
                    messages
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: reachzach@gmail.com

Suggestion: Put a new line or two before "candidates are:", and maybe capitalize it, in the error message for template ambiguity errors. I think they're already hard enough to read, and this might help a little. I made an issue for it, because I don't feel fully qualified to decide on this.

Current template error example:

file(line): Error: template foo cannot deduce function from
argument types !()(int, string), candidates are:
file(line): foo(Args...)(auto ref Args arg) if
(!anySatisfy!(isString, Args))

Recommended change:

file(line): Error: template foo cannot deduce function from
argument types !()(int, string)
Candidates are:
file(line): foo(Args...)(auto ref Args arg) if
(!anySatisfy!(isString, Args))

Or (more spacious):

file(line): Error: template foo cannot deduce function from argument types !()(int, string)

Candidates are:
file(line): foo(Args...)(auto ref Args arg) if
(!anySatisfy!(isString, Args))

It seems trivial, but little things matter too!

--