Skip to content

Conversation

@Rua
Copy link
Contributor

@Rua Rua commented Dec 13, 2025

Allows the unused_imports and clippy::missing_safety_doc in all generated code. There's always a lot of these which makes it harder to see genuine warnings.

@Rua Rua changed the title transpile: Add some allow pragmas transpile: Allow unused_imports and clippy::missing_safety_doc in generated code Dec 13, 2025
@Rua
Copy link
Contributor Author

Rua commented Dec 13, 2025

I see that in order to support clippy pragmas, I first need to make some changes in various places to allow full paths instead of just strings. But before I do all that, is that actually wanted?

Copy link
Contributor

@kkysen kkysen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which unused_imports are we generating? If we can reduce those, that'd also be good.

I see that in order to support clippy pragmas, I first need to make some changes in various places to allow full paths instead of just strings. But before I do all that, is that actually wanted?

I don't think this is particularly important, but supporting clippy pragmas should be fine I think.

@Rua Rua marked this pull request as draft December 16, 2025 16:45
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

Successfully merging this pull request may close these issues.

2 participants