#94 tracking tokenized regions #279
rust.yml
on: pull_request
Lint non-Rust files
14s
Ensure rustfmt is happy
12s
Lint the codebase with clippy
41s
Check doc links are valid
31s
Matrix: test
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)]`
|