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

🔍Detect stray #[sourcegen::generated] attributes #20

Open
idubrov opened this issue Sep 10, 2019 · 0 comments
Open

🔍Detect stray #[sourcegen::generated] attributes #20

idubrov opened this issue Sep 10, 2019 · 0 comments
Labels
🐛Bug Something isn't working

Comments

@idubrov
Copy link
Contributor

idubrov commented Sep 10, 2019

sourcegen need to detect and complain about "stray" #[sourcegen::generated] attributes if they were split off the main #[sourcegen::sourcegen(..)] attribute.

Currently it fails complaining it does not see generator attribute. Instead, it should give an explanation what's going on and how to fix it.

@idubrov idubrov added the 🐛Bug Something isn't working label Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant