walrus
walrus copied to clipboard
Proc macro on the Instr enum?
I'm working on a compiler and I'm using Walrus to compile to WASM, the thing is that when I use Instr::Const {} then rustc tells me that it's actually a tuple struct and not struct syntax. I assume this has to be the proc macro right above the enum definition doing that? My IDE can't understand it