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: 'a --> src/expand.rs:443:10 | 443 | impl<'a> VisitMut for AssociatedTypeImplTraits<'a> { | ^^ ^^ | = 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 | 443 - impl<'a> VisitMut for AssociatedTypeImplTraits<'a> { 443 + impl VisitMut for AssociatedTypeImplTraits<'_> { | warning: the following explicit lifetimes could be elided: 'a --> tests/test.rs:453:10 | 453 | impl<'a> Trait2 for &'a () { | ^^ ^^ | = 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 | 453 - impl<'a> Trait2 for &'a () { 453 + impl Trait2 for &() { | warning: the following explicit lifetimes could be elided: 'a --> tests/test.rs:1431:10 | 1431 | impl<'a> Drop for IncrementOnDrop<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1431 - impl<'a> Drop for IncrementOnDrop<'a> { 1431 + impl Drop for IncrementOnDrop<'_> { |
- Loading branch information