Traits generated in the Bundle
derive macro can trigger warnings
#15531
Labels
C-Bug
An unexpected or incorrect behavior
D-Macros
Code that generates Rust code
D-Trivial
Nice and easy! A great choice to get started with Bevy
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Bevy version
Main branch
What you did
Suppressing across the entire file with
#![allow(deprecated)]
does work.Additional information
I'm pretty sure derives are not supposed to throw warnings like this, maybe a bug in clippy, or perhaps using
#[automatically_derived]
in the macros would help?The text was updated successfully, but these errors were encountered: