Fix Issue 12477 - std.bitmanip should emit informative diagnostics.
Merge pull request #2113 from AndrejMitrovic/Fix12477

Issue 12477 - std.bitmanip should emit informative diagnostics.