D-Programming-Language/phobos — pull request #2299 by tom-tan (2014-07-03 06:57:10+00:00)
Title: Mark std.file.rename as @trusted

It contains an unsafe function `MoveFileExW` (on Windows) or `core.stdc.stdio.rename` (on Posix) but we can verify that it can be trusted.