Why is just "x" not allowed? What does ".{x}" actually mean?
It all makes a lot more sense after understanding Zig's comptime features:
https://ziglang.org/documentation/master/#comptime
The end of the comptime section also explains how string formatting works that way.