Skip to content

error[E0658]: exclusive range pattern syntax is experimental < 1.80 #23

Closed
@marc2332

Description

@marc2332

Hello!

I just noticed the CI of one of my projects suddenly broke due the last release of this library.

Here is a link to the CI:
https://github.com/marc2332/freya/actions/runs/10475333160/job/29011744191?pr=811#step:7:308

Also as a codeblock:

     Checking bitstream-io v2.5.1
error[E0658]: exclusive range pattern syntax is experimental
   --> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitstream-io-2.5.1/src/read.rs:331:13
    |
331 |             1..MAX_CHUNK => {
    |             ^^^^^^^^^^^^
    |
    = note: see issue #37854 <https://github.com/rust-lang/rust/issues/37854> for more information
    = help: use an inclusive range pattern, like N..=M

It seems to me like you used the new (now stabilized in 1.80) rust-lang/rust#37854 feature. Which explains why my CI broke as I am pinned to 1.79 (I should probably update it tbh). That said, this projects says that the MSVR is 1.79, which I guess is no longer true. So, the question is

Should a new patch version be released so 1.79 remains supported, or should the project now have a MSRV of 1.80 ? I am happy to help by contributing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions