On Wednesday, 21 February 2018 at 22:22:55 UTC, Meta wrote:
Mixins have to be full declarations.
They need to be full declarations, full statements, or full expressions, depending on the context where they appear.
string s = mixin("teste");
so that is a full expression and thus legal.