The documentation of `std.functional.toDelegate` currently lists two bugs. <https://github.com/dlang/phobos/blob/fcffbc0d97b40614fe1a517a0b1e02b965430580/std/functional.d#L1809-L1813> I think that now that #10599 has been merged, `toDelegate` should work fine with `@safe` functions. If so, the corresponding bug entry should be removed.