Skip to content

Deny Rust 2018 idioms#15916

Closed
BenjaminBrienen wants to merge 3 commits intobevyengine:mainfrom
BenjaminBrienen:rust_2018_idioms
Closed

Deny Rust 2018 idioms#15916
BenjaminBrienen wants to merge 3 commits intobevyengine:mainfrom
BenjaminBrienen:rust_2018_idioms

Conversation

@BenjaminBrienen
Copy link
Copy Markdown
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
Copy Markdown
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