wip #715
Annotations
4 errors and 10 warnings
this argument is a mutable reference, but not used mutably:
src/inflight.rs#L145
error: this argument is a mutable reference, but not used mutably
--> src/inflight.rs:145:29
|
145 | fn available(&self, cx: &mut Context<'_>) -> bool {
| ^^^^^^^^^^^^^^^^ help: consider changing to: `&Context<'_>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
= note: `#[deny(clippy::needless_pass_by_ref_mut)]` implied by `#[deny(warnings)]`
|
unnecessary `pub(self)`:
src/v5/mod.rs#L32
error: unnecessary `pub(self)`
--> src/v5/mod.rs:32:1
|
32 | pub(self) const RECEIVE_MAX_DEFAULT: NonZeroU16 = unsafe { NonZeroU16::new_unchecked(65_535) };
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
note: the lint level is defined here
--> src/lib.rs:1:27
|
1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_pub_self)]` implied by `#[deny(warnings)]`
|
this argument is a mutable reference, but not used mutably:
src/inflight.rs#L145
error: this argument is a mutable reference, but not used mutably
--> src/inflight.rs:145:29
|
145 | fn available(&self, cx: &mut Context<'_>) -> bool {
| ^^^^^^^^^^^^^^^^ help: consider changing to: `&Context<'_>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
= note: `#[deny(clippy::needless_pass_by_ref_mut)]` implied by `#[deny(warnings)]`
|
unnecessary `pub(self)`:
src/v5/mod.rs#L32
error: unnecessary `pub(self)`
--> src/v5/mod.rs:32:1
|
32 | pub(self) const RECEIVE_MAX_DEFAULT: NonZeroU16 = unsafe { NonZeroU16::new_unchecked(65_535) };
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
note: the lint level is defined here
--> src/lib.rs:1:27
|
1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_pub_self)]` implied by `#[deny(warnings)]`
|
stable - x86_64-pc-windows-msvc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
stable - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
stable - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
stable - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
stable - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
nightly - x86_64-pc-windows-msvc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
nightly - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
nightly - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
nightly - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
nightly - x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|