[REG2.066a] Issue 13077 - std.range.array with shared InputRangeObject

https://issues.dlang.org/show_bug.cgi?id=13077

Ping: @monarchdodra
> Yes, the result of the cast from qualified to unqualified is always non-ref. But I'd like just to revert lines back to proven code 2.065.

Fair enough, do you have a link to the patch that this is reverting?

> It's not possible because the cast will make this `put` member function unsafe.

Ah I missed that.