https://issues.dlang.org/show_bug.cgi?id=15702
--- Comment #4 from [email protected] --- Here's another example that shows why @safe/@trusted on any function that takes (a non-const) void[] must be considered suspect (credit: Steven Schveighoffer, from the forum thread): ---- void foo(void[] arr) @safe { void[] arr2 = [123, 456, 789]; // this is clearly @safe arr[] = arr2[0 .. arr.length]; // so is this, under the current definition } ---- --
