Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless_lifetimes clippy lint
warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:16:14 | 16 | impl<'de> Visitor<'de> for MustBeCharVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-W clippy::needless-lifetimes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 16 - impl<'de> Visitor<'de> for MustBeCharVisitor { 16 + impl Visitor<'_> for MustBeCharVisitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:48:14 | 48 | impl<'de> Visitor<'de> for MustBePosIntVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 - impl<'de> Visitor<'de> for MustBePosIntVisitor { 48 + impl Visitor<'_> for MustBePosIntVisitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:125:14 | 125 | impl<'de> Visitor<'de> for MustBeNegIntVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 125 - impl<'de> Visitor<'de> for MustBeNegIntVisitor { 125 + impl Visitor<'_> for MustBeNegIntVisitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:202:14 | 202 | impl<'de> Visitor<'de> for MustBeU8Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 202 - impl<'de> Visitor<'de> for MustBeU8Visitor { 202 + impl Visitor<'_> for MustBeU8Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:234:14 | 234 | impl<'de> Visitor<'de> for MustBeU16Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 234 - impl<'de> Visitor<'de> for MustBeU16Visitor { 234 + impl Visitor<'_> for MustBeU16Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:266:14 | 266 | impl<'de> Visitor<'de> for MustBeU32Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 266 - impl<'de> Visitor<'de> for MustBeU32Visitor { 266 + impl Visitor<'_> for MustBeU32Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:298:14 | 298 | impl<'de> Visitor<'de> for MustBeU64Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 298 - impl<'de> Visitor<'de> for MustBeU64Visitor { 298 + impl Visitor<'_> for MustBeU64Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:351:14 | 351 | impl<'de> Visitor<'de> for MustBeU128Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 351 - impl<'de> Visitor<'de> for MustBeU128Visitor { 351 + impl Visitor<'_> for MustBeU128Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:389:14 | 389 | impl<'de> Visitor<'de> for MustBeI8Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 389 - impl<'de> Visitor<'de> for MustBeI8Visitor { 389 + impl Visitor<'_> for MustBeI8Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:421:14 | 421 | impl<'de> Visitor<'de> for MustBeI16Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 421 - impl<'de> Visitor<'de> for MustBeI16Visitor { 421 + impl Visitor<'_> for MustBeI16Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:453:14 | 453 | impl<'de> Visitor<'de> for MustBeI32Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 453 - impl<'de> Visitor<'de> for MustBeI32Visitor { 453 + impl Visitor<'_> for MustBeI32Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:485:14 | 485 | impl<'de> Visitor<'de> for MustBeI64Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 485 - impl<'de> Visitor<'de> for MustBeI64Visitor { 485 + impl Visitor<'_> for MustBeI64Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:538:14 | 538 | impl<'de> Visitor<'de> for MustBeI128Visitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 538 - impl<'de> Visitor<'de> for MustBeI128Visitor { 538 + impl Visitor<'_> for MustBeI128Visitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:576:14 | 576 | impl<'de> Visitor<'de> for MustBeBoolVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 576 - impl<'de> Visitor<'de> for MustBeBoolVisitor { 576 + impl Visitor<'_> for MustBeBoolVisitor { | warning: the following explicit lifetimes could be elided: 'de --> src/deserialize.rs:608:14 | 608 | impl<'de> Visitor<'de> for MustBeStrVisitor { | ^^^ ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 608 - impl<'de> Visitor<'de> for MustBeStrVisitor { 608 + impl Visitor<'_> for MustBeStrVisitor { | warning: the following explicit lifetimes could be elided: 'a --> src/format.rs:20:6 | 20 | impl<'a> Write for Buf<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 20 - impl<'a> Write for Buf<'a> { 20 + impl Write for Buf<'_> { |
- Loading branch information