Skip to content

Proc macro on the Instr enum? #228

@birbe

Description

@birbe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions