Skip to content

dep: bump serde from 1.0.216 to 1.0.217 in the deps group #630

dep: bump serde from 1.0.216 to 1.0.217 in the deps group

dep: bump serde from 1.0.216 to 1.0.217 in the deps group #630

GitHub Actions / clippy failed Dec 27, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.85.0-nightly (917bfa784 2024-12-26)
  • cargo 1.85.0-nightly (c86f4b3a1 2024-12-24)
  • clippy 0.1.85 (917bfa7847 2024-12-26)

Annotations

Check failure on line 843 in crates/rsonpath-syntax/src/parser.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

operator precedence can trip the unwary

error: operator precedence can trip the unwary
   --> crates/rsonpath-syntax/src/parser.rs:843:46
    |
843 | ...                   let n = ((raw_c - 0xD800) << 10 | (low - 0xDC00)) + 0x10000;
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `((raw_c - 0xD800) << 10) | (low - 0xDC00)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
    = note: `-D clippy::precedence` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::precedence)]`