Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proc macro on the Instr enum? #228

Open
birbe opened this issue Mar 17, 2022 · 0 comments
Open

Proc macro on the Instr enum? #228

birbe opened this issue Mar 17, 2022 · 0 comments
Labels
question Further information is requested

Comments

@birbe
Copy link

birbe commented Mar 17, 2022

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 birbe added the question Further information is requested label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant