Set attributes only on queue pairs of the correct type #17
check.yml
on: pull_request
stable / fmt
16s
nightly / doc
3m 3s
ubuntu / stable / features
2m 3s
Matrix: clippy
Matrix: msrv
Annotations
2 errors and 4 warnings
beta / clippy
reviewdog exited with status code: 1
|
stable / clippy
reviewdog exited with status code: 1
|
beta / clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
beta / clippy:
ibverbs/src/lib.rs#L837
[clippy] reported by reviewdog 🐶
warning: manual `RangeInclusive::contains` implementation
--> ibverbs/src/lib.rs:837:17
|
837 | assert!(1 <= path_mtu && path_mtu <= 5);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1..=5).contains(&path_mtu)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
= note: `#[warn(clippy::manual_range_contains)]` on by default
Raw Output:
ibverbs/src/lib.rs:837:17:w:warning: manual `RangeInclusive::contains` implementation
--> ibverbs/src/lib.rs:837:17
|
837 | assert!(1 <= path_mtu && path_mtu <= 5);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1..=5).contains(&path_mtu)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
= note: `#[warn(clippy::manual_range_contains)]` on by default
__END__
|
stable / clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
stable / clippy:
ibverbs/src/lib.rs#L837
[clippy] reported by reviewdog 🐶
warning: manual `RangeInclusive::contains` implementation
--> ibverbs/src/lib.rs:837:17
|
837 | assert!(1 <= path_mtu && path_mtu <= 5);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1..=5).contains(&path_mtu)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
= note: `#[warn(clippy::manual_range_contains)]` on by default
Raw Output:
ibverbs/src/lib.rs:837:17:w:warning: manual `RangeInclusive::contains` implementation
--> ibverbs/src/lib.rs:837:17
|
837 | assert!(1 <= path_mtu && path_mtu <= 5);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(1..=5).contains(&path_mtu)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
= note: `#[warn(clippy::manual_range_contains)]` on by default
__END__
|