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

could not find impl_tid in antlr_rust #77

Open
Code7R opened this issue Apr 6, 2023 · 2 comments
Open

could not find impl_tid in antlr_rust #77

Code7R opened this issue Apr 6, 2023 · 2 comments

Comments

@Code7R
Copy link

Code7R commented Apr 6, 2023

Situation:

Problem: the gencode does not compile!


error[E0433]: failed to resolve: could not find `impl_tid` in `antlr_rust`
   --> src/cparser.rs:419:15
    |
419 | #[antlr_rust::impl_tid]
    |               ^^^^^^^^ could not find `impl_tid` in `antlr_rust`

@rrevenantt
Copy link
Owner

Matching generator is on releases page: https://github.com/rrevenantt/antlr4rust/releases/tag/antlr4-4.8-2-Rust0.3.0-beta
Does it not work with that one?

@woile
Copy link

woile commented Nov 5, 2023

Hi there, first thanks for pulling out all this effort for this tool, I hope its development continues 💪🏻

In my case, it did not work with the release, not a direct link to github, nor the release on cargo.

Some of the errors I see are:

cannot find derive macro `Tid` in this scope
failed to resolve: could not find `impl_tid` in `antlr_rust`
could not find `impl_tid` in `antlr_rust`
failed to resolve: could not find `type_id` in `antlr_rust`
could not find `type_id` in `antlr_rust`

Any thoughts on possible fixes?

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

3 participants