Comment #2 by dlang-bugzilla — 2017-07-07T05:57:48Z
Yeah, pretty sure you can add anything to a declaration that distinguishes it from a statement, which apparently includes UDAs. "auto" is a no-effect keyword that you can use if you have nothing else to write there. Same reason why `const foo() { return 1; }` is valid inside a method.