You're right. Tried to make next() @safe and got a bunch of errors in rt/typeinfo/ti_* files, that safe functions cannot cast(inout). So what do you think of declaring all of those as @trusted? Or should i just drop the casts?