June 17, 2018
https://issues.dlang.org/show_bug.cgi?id=18994

--- Comment #1 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/42f7252a19640f276e046e8fd264d4484eb82619 fix issue 18994 - Use noncopyable variable in foreach loop without ref results in error message without line number

Set loc for the copy expression generated by the compiler too.

--
June 17, 2018
https://issues.dlang.org/show_bug.cgi?id=18994

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--