void main() @safe { import std.algorithm: remove; import std.typecons: Tuple; alias Foo = Tuple!int; Foo[] data; data.remove!(x => x == Foo()); } DMD 2.066alpha gives: temp.d(6,9): Error: safe function 'D main' cannot call system function 'temp.main.remove!((x) => x == Foo(), cast(SwapStrategy)2, Tuple!int[]).remove'
Works with the current compiler.