On Saturday, 29 November 2014 at 00:20:38 UTC, Daniel Murphy wrote: > I think @disabled with a custom message would be perfect for > this. static assert only works for templates. We just need someone to implement this. https://issues.dlang.org/show_bug.cgi?id=8728