https://issues.dlang.org/show_bug.cgi?id=21920

          Issue ID: 21920
           Summary: [REG master] Error: `auto` can only be used as part of
                    `auto ref` for template function parameters
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

import std.stdio;
void function(string) printer = &writeln!string;

---

Caused by https://github.com/dlang/phobos/pull/8055

--

Reply via email to