Skip to content

Update LH to use Rust Edition 2024 #7749

Open
@michaelsproul

Description

@michaelsproul

Rust has editions as well as versions. The 2024 edition has been out for a while, and brings some nice features like let-chains.

When I updated Milhouse to use the 2024 edition there were a few lifetime patterns that needed to be changed to bring us in line. For Lighthouse we can roll out the edition update one crate at a time, or in batches of crates. To avoid bitrot we probably shouldn't do the whole repo in one go.

This will probably be a backwards-incompat change as it will require us to bump the MSRV to at least 1.88.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions