Skip to content

dep: bump the deps group across 1 directory with 2 updates #1258

dep: bump the deps group across 1 directory with 2 updates

dep: bump the deps group across 1 directory with 2 updates #1258

GitHub Actions / clippy failed Dec 30, 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 (14ee63a3c 2024-12-29)
  • cargo 1.85.0-nightly (c86f4b3a1 2024-12-24)
  • clippy 0.1.85 (14ee63a3c6 2024-12-29)

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)]`