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

Doesn't work on another macro #3

Open
NilsIrl opened this issue Apr 16, 2020 · 1 comment
Open

Doesn't work on another macro #3

NilsIrl opened this issue Apr 16, 2020 · 1 comment

Comments

@NilsIrl
Copy link

NilsIrl commented Apr 16, 2020

error: no rules expected the token `compile_time_serde`
  --> src/main.rs:57:56
   |
57 | counted_array::counted_array!(const GAMES: [Game; _] = compile_time_serde::deserialize_json!());
   |                                                        ^^^^^^^^^^^^^^^^^^ no rules expected this token in macro call
@NilsIrl
Copy link
Author

NilsIrl commented Apr 16, 2020

From what I understand, if counted_array was a proc macro, this should work. I'm going to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant