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

Incompatible with cargo fmt #25

Open
marmeladema opened this issue Jan 9, 2025 · 1 comment
Open

Incompatible with cargo fmt #25

marmeladema opened this issue Jan 9, 2025 · 1 comment

Comments

@marmeladema
Copy link

Hello and thank you for providing this useful proc-macro :)

We were using it at work and realized that cargo fmt would not format the files for which automod would generate a module entry.
Is this a fundamental rust limitation or could this be fixed by automod?

@ArjixWasTaken
Copy link

To me this sounds like an issue with cargo fmt not expanding the macros, which makes sense.

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

2 participants