Remove cases of variable shadowing
Fix missed 0 -> Loc
Merge pull request #2221 from yebblies/ohnotlocagain

[DDMD] Fix missed 0 -> Loc
Merge pull request #2219 from yebblies/shadow

[DDMD] Remove cases of variable shadowing
fix issue 10359 - Pointer slicing allowed in @safe mode
Merge pull request #2226 from hpohl/10359

fix issue 10359 - Pointer slicing allowed in @safe mode