walrus icon indicating copy to clipboard operation
walrus copied to clipboard

Proc macro on the Instr enum?

Open birbe opened this issue 2 years ago • 0 comments

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

birbe avatar Mar 17 '22 18:03 birbe