Skip to content

need cargo attribute for experimental feature #23

@requaos

Description

@requaos

the inline-const feature is still gated with an attribute flag on stable rustc:

error[E0658]: inline-const is experimental
  --> /nix/store/qmfd7rc3ydzwiijcg7vzfsja7ykjcy60-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/revision-0.9.0/src/implementations/string.rs:55:33
   |
55 | static CHAR_LENGTH: [u8; 256] = const {
   |                                 ^^^^^
   |
   = note: see issue #76001 <https://github.com/rust-lang/rust/issues/76001> for more information
   = help: add `#![feature(inline_const)]` to the crate attributes to enable

Metadata

Metadata

Assignees

No one assigned

    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