https://issues.dlang.org/show_bug.cgi?id=16519
--- Comment #4 from anonymous4 <[email protected]> --- (In reply to Seb from comment #3) > foo.d(8): Deprecation: slice of static array temporary returned by > toHexString(hash) assigned to longer lived variable a > > but I still think we should do something about the API. Slicing a temporary and storing it anywhere should be deprecated in unsafe code too. It should be valid to only pass it as a function argument. --
