Support for mqtt server middlewares #931
Annotations
7 errors and 12 warnings
the following explicit lifetimes could be elided: 'a:
src/utils.rs#L260
error: the following explicit lifetimes could be elided: 'a
--> src/utils.rs:260:6
|
260 | impl<'a> Encode for &'a [u8] {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
260 - impl<'a> Encode for &'a [u8] {
260 + impl Encode for &[u8] {
|
|
the following explicit lifetimes could be elided: 'a:
src/topic.rs#L158
error: the following explicit lifetimes could be elided: 'a
--> src/topic.rs:158:6
|
158 | impl<'a> MatchLevel for &'a TopicFilterLevel {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
158 - impl<'a> MatchLevel for &'a TopicFilterLevel {
158 + impl MatchLevel for &TopicFilterLevel {
|
|
the following explicit lifetimes could be elided: 'a:
src/topic.rs#L118
error: the following explicit lifetimes could be elided: 'a
--> src/topic.rs:118:6
|
118 | impl<'a> TryFrom<&'a [TopicFilterLevel]> for TopicFilter {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> src/lib.rs:1:27
|
1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(warnings)]`
help: elide the lifetimes
|
118 - impl<'a> TryFrom<&'a [TopicFilterLevel]> for TopicFilter {
118 + impl TryFrom<&[TopicFilterLevel]> for TopicFilter {
|
|
Clippy
Clippy had exited with the 101 exit code
|
the following explicit lifetimes could be elided: 'a:
src/utils.rs#L260
error: the following explicit lifetimes could be elided: 'a
--> src/utils.rs:260:6
|
260 | impl<'a> Encode for &'a [u8] {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
260 - impl<'a> Encode for &'a [u8] {
260 + impl Encode for &[u8] {
|
|
the following explicit lifetimes could be elided: 'a:
src/topic.rs#L158
error: the following explicit lifetimes could be elided: 'a
--> src/topic.rs:158:6
|
158 | impl<'a> MatchLevel for &'a TopicFilterLevel {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
158 - impl<'a> MatchLevel for &'a TopicFilterLevel {
158 + impl MatchLevel for &TopicFilterLevel {
|
|
the following explicit lifetimes could be elided: 'a:
src/topic.rs#L118
error: the following explicit lifetimes could be elided: 'a
--> src/topic.rs:118:6
|
118 | impl<'a> TryFrom<&'a [TopicFilterLevel]> for TopicFilter {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> src/lib.rs:1:27
|
1 | #![deny(rust_2018_idioms, warnings, unreachable_pub)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(warnings)]`
help: elide the lifetimes
|
118 - impl<'a> TryFrom<&'a [TopicFilterLevel]> for TopicFilter {
118 + impl TryFrom<&[TopicFilterLevel]> for TopicFilter {
|
|
Rustfmt (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Rustfmt (stable)
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/
|
Rustfmt (stable)
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/
|
Rustfmt (stable)
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/
|
Rustfmt (stable)
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/
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Clippy
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/
|
Clippy
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/
|
Clippy
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/
|
Clippy
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/
|