Skip to content

verify-clippy task fails on Rust >= 1.81.0 #949

Description

@gzordrai

Package

Library

Describe the bug

verify-clippy fails due to a new clippy warning on byte arrays introduced in Rust 1.81.0

Minimal Reproducible Example

Run just verify with Rust >= 1.81.0

Expected behavior

Multiple clippy warnings are thrown in rsonpath-lib and rsonpath-syntax.
Since warnings are treated as errors, the build fails.

Workarounds (optional)

The clippy::byte_char_slices warning was introduced in Rust 1.81.0 (see docs).

Proposed solution (optional)

Replace every [b'a', b'b'] with b"ab".

Version of the release

v0.10.0

Rust version

*>=1.81.0

Target triple

all

Features enabled

default

Codegen options

No response

Additional context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions