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

Deny Rust 2018 idioms #15916

Closed

Conversation

BenjaminBrienen
Copy link
Contributor

Objective

Prepare for when this is deny by default

Solution

Add rust_2018_idioms = "deny" to [workspace.lints.rust]
Add elided lifetime parameters
Remove unused extern crate declarations

Testing

CI

@alice-i-cecile
Copy link
Member

The elided lifetime change is really bad for Bevy. We need to allow this when it's ready. I'll talk to the Rust team...

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