Skip to content

Allow dead_code lint for Rust v1.89 in derive macro output#103

Closed
james7132 wants to merge 1 commit into
teoxoy:mainfrom
james7132:v1.89-lints
Closed

Allow dead_code lint for Rust v1.89 in derive macro output#103
james7132 wants to merge 1 commit into
teoxoy:mainfrom
james7132:v1.89-lints

Conversation

@james7132
Copy link
Copy Markdown
Contributor

Fix #102. Adds an allow lint to generated derive macro code.

@SludgePhD
Copy link
Copy Markdown

But the function is used. There's a call to it just below the definition.

Wasn't the incorrect warning already fixed in #96 and released in encase 0.11.1? Bevy is still using encase 0.10.

@teoxoy
Copy link
Copy Markdown
Owner

teoxoy commented Aug 25, 2025

Yeah, this should have been fixed by #96.

@teoxoy teoxoy closed this Aug 25, 2025
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.

Rust v1.89 dead_code lints mark ShaderType derive assertions as dead code.

3 participants