Skip to content

#94 tracking tokenized regions #279

#94 tracking tokenized regions

#94 tracking tokenized regions #279

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

rust.yml

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

Annotations

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