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

latest clippy warns PhantomData::default() #9150

Closed
fgrust opened this issue Jul 13, 2023 · 1 comment
Closed

latest clippy warns PhantomData::default() #9150

fgrust opened this issue Jul 13, 2023 · 1 comment
Labels
C-Code-Quality A section of code that is hard to understand or change D-Trivial Nice and easy! A great choice to get started with Bevy

Comments

@fgrust
Copy link
Contributor

fgrust commented Jul 13, 2023

Bevy version

Any

[Optional] Relevant system information

Any

What you did

I followed the test instructions described in ci workflows - cargo run -p ci -- lints with the latest stable release

What went wrong

As this warning has been added in rustc 1.71.0, lint fails in the line of PhantomData::Default(). Use _marker: PhantomData instead.

@fgrust fgrust added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jul 13, 2023
@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy C-Code-Quality A section of code that is hard to understand or change and removed C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jul 13, 2023
@SpecificProtagonist
Copy link
Contributor

Addressed in #9144

@fgrust fgrust closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Code-Quality A section of code that is hard to understand or change D-Trivial Nice and easy! A great choice to get started with Bevy
Projects
None yet
Development

No branches or pull requests

3 participants