Skip to content

0.37.0 introduced code that isn't stable with 1.64 #750

Closed
@CraZySacX

Description

@CraZySacX

Duplicates

  • I have searched the existing issues

Current behavior 😯

When compiling with 1.64 I get the following error:

error[E0658]: let...else statements are unstable
--> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/gix-0.37.0/src/object/tree/diff/for_each.rs:135:9
|
135 | / let Some(tracked) = self.tracked.as_mut() else {
136 | | return Ok(None)
137 | | };
| |__________^
|
= note: see issue #87335 rust-lang/rust#87335 for more information

I dug a bit into the RFC and it appears this became stable in 1.65. You may just want to bump the MSRV to 1.65.

Expected behavior 🤔

Well, if you wish to keep 1.64 as the MSRV this would need to compile against it.

Steps to reproduce 🕹

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions