Skip to content

#94 tracking tokenized regions #280

#94 tracking tokenized regions

#94 tracking tokenized regions #280

Triggered via pull request February 21, 2025 14:51
@sminezsminez
synchronize #95
issue-94
Status Failure
Total duration 1m 2s
Artifacts

rust.yml

on: pull_request
Lint non-Rust files
13s
Lint non-Rust files
Ensure rustfmt is happy
12s
Ensure rustfmt is happy
Lint the codebase with clippy
37s
Lint the codebase with clippy
Check doc links are valid
32s
Check doc links are valid
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
Ensure rustfmt is happy
Process completed with exit code 1.
operator precedence can trip the unwary: src/buffer/internal.rs#L1081
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1081:18 | 1081 | ch = (init & 7) << 18 | utf8_acc_cont_byte(y_z, w); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `((init & 7) << 18) | utf8_acc_cont_byte(y_z, w)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/buffer/internal.rs#L1075
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1075:14 | 1075 | ch = init << 12 | y_z; | ^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(init << 12) | y_z` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence note: the lint level is defined here --> src/lib.rs:3:5 | 3 | clippy::complexity, | ^^^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::precedence)]` implied by `#[warn(clippy::complexity)]`
operator precedence can trip the unwary: src/buffer/internal.rs#L1081
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1081:18 | 1081 | ch = (init & 7) << 18 | utf8_acc_cont_byte(y_z, w); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `((init & 7) << 18) | utf8_acc_cont_byte(y_z, w)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
operator precedence can trip the unwary: src/buffer/internal.rs#L1075
warning: operator precedence can trip the unwary --> src/buffer/internal.rs:1075:14 | 1075 | ch = init << 12 | y_z; | ^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(init << 12) | y_z` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence note: the lint level is defined here --> src/lib.rs:3:5 | 3 | clippy::complexity, | ^^^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::precedence)]` implied by `#[warn(clippy::complexity)]`