Issue 12477 - std.bitmanip should emit informative diagnostics.

https://issues.dlang.org/show_bug.cgi?id=12477