Export as_opt_<type>
helper functions
#65
Annotations
14 errors and 5 warnings
the following explicit lifetimes could be elided: 'de:
src/de_impl_opt.rs#L408
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl_opt.rs:408:6
|
408 | impl<'de> de::Visitor<'de> for DeserializeOptionalStringWithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
408 - impl<'de> de::Visitor<'de> for DeserializeOptionalStringWithVisitor {
408 + impl de::Visitor<'_> for DeserializeOptionalStringWithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl_opt.rs#L325
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl_opt.rs:325:6
|
325 | impl<'de> de::Visitor<'de> for DeserializeOptionalBoolWithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
325 - impl<'de> de::Visitor<'de> for DeserializeOptionalBoolWithVisitor {
325 + impl de::Visitor<'_> for DeserializeOptionalBoolWithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl_opt.rs#L271
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl_opt.rs:271:6
|
271 | impl<'de> de::Visitor<'de> for DeserializeOptionalF64WithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
271 - impl<'de> de::Visitor<'de> for DeserializeOptionalF64WithVisitor {
271 + impl de::Visitor<'_> for DeserializeOptionalF64WithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl_opt.rs#L209
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl_opt.rs:209:6
|
209 | impl<'de> de::Visitor<'de> for DeserializeOptionalI64WithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
209 - impl<'de> de::Visitor<'de> for DeserializeOptionalI64WithVisitor {
209 + impl de::Visitor<'_> for DeserializeOptionalI64WithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl_opt.rs#L147
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl_opt.rs:147:6
|
147 | impl<'de> de::Visitor<'de> for DeserializeOptionalU64WithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
147 - impl<'de> de::Visitor<'de> for DeserializeOptionalU64WithVisitor {
147 + impl de::Visitor<'_> for DeserializeOptionalU64WithVisitor {
|
|
empty line after doc comment:
src/de_impl_opt.rs#L143
error: empty line after doc comment
--> src/de_impl_opt.rs:143:1
|
143 | / /// TODO maybe update these definitions into a macro ..?
144 | |
| |_^
145 | struct DeserializeOptionalU64WithVisitor;
| ---------------------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional remove it
|
the following explicit lifetimes could be elided: 'de:
src/de_impl.rs#L364
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl.rs:364:6
|
364 | impl<'de> de::Visitor<'de> for DeserializeStringWithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
364 - impl<'de> de::Visitor<'de> for DeserializeStringWithVisitor {
364 + impl de::Visitor<'_> for DeserializeStringWithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl.rs#L278
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl.rs:278:6
|
278 | impl<'de> de::Visitor<'de> for DeserializeBoolWithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
278 - impl<'de> de::Visitor<'de> for DeserializeBoolWithVisitor {
278 + impl de::Visitor<'_> for DeserializeBoolWithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl.rs#L225
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl.rs:225:6
|
225 | impl<'de> de::Visitor<'de> for DeserializeF64WithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
225 - impl<'de> de::Visitor<'de> for DeserializeF64WithVisitor {
225 + impl de::Visitor<'_> for DeserializeF64WithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl.rs#L165
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl.rs:165:6
|
165 | impl<'de> de::Visitor<'de> for DeserializeI64WithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
165 - impl<'de> de::Visitor<'de> for DeserializeI64WithVisitor {
165 + impl de::Visitor<'_> for DeserializeI64WithVisitor {
|
|
the following explicit lifetimes could be elided: 'de:
src/de_impl.rs#L105
error: the following explicit lifetimes could be elided: 'de
--> src/de_impl.rs:105:6
|
105 | impl<'de> de::Visitor<'de> for DeserializeU64WithVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(warnings)]`
help: elide the lifetimes
|
105 - impl<'de> de::Visitor<'de> for DeserializeU64WithVisitor {
105 + impl de::Visitor<'_> for DeserializeU64WithVisitor {
|
|
empty line after doc comment:
src/de_impl.rs#L101
error: empty line after doc comment
--> src/de_impl.rs:101:1
|
101 | / /// TODO maybe update these definitions into a macro ..?
102 | |
| |_^
103 | struct DeserializeU64WithVisitor;
| -------------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
note: the lint level is defined here
--> src/lib.rs:3:9
|
3 | #![deny(warnings, dead_code, unused_imports, unused_mut)]
| ^^^^^^^^
= note: `#[deny(clippy::empty_line_after_doc_comments)]` implied by `#[deny(warnings)]`
= help: if the empty line is unintentional remove it
|
Build
could not compile `serde-this-or-that` (lib) due to 12 previous errors
|
Build
Clippy had exited with the 101 exit code
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build
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/
|
Build
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/
|
Build
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/
|
Build
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/
|