[REG2.008] Issue 12981 - Can't refer to 'outer' from mixin template

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