Skip to content

Warning "range patterns are deprecated" when building deno #41

@trivikr

Description

@trivikr

Hi,

I get the following errors while trying to build deno from source:

warning: `...` range patterns are deprecated
   --> /home/trivikr/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.8/src/normalize.rs:126:17
    |
126 |         (L_BASE ... L_LAST, V_BASE ... V_LAST) => {
    |                 ^^^ help: use `..=` for an inclusive range
[serde 1.0.100] cargo:rustc-cfg=ops_bound
    |
    = note: #[warn(ellipsis_inclusive_range_patterns)] on by default

Documentation: https://doc.rust-lang.org/reference/patterns.html#range-patterns

Fix: The code in unicode-normalization needs to be updated to use ..= for an inclusive range

Regards,
Trivikram

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