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/to_tokens.rs:78:6 | 78 | impl<'a, T: ?Sized + ToTokens> ToTokens for &'a T { | ^^ ^^ | = 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 | 78 - impl<'a, T: ?Sized + ToTokens> ToTokens for &'a T { 78 + impl<T: ?Sized + ToTokens> ToTokens for &T { | warning: the following explicit lifetimes could be elided: 'a --> src/to_tokens.rs:84:6 | 84 | impl<'a, T: ?Sized + ToTokens> ToTokens for &'a mut T { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 84 - impl<'a, T: ?Sized + ToTokens> ToTokens for &'a mut T { 84 + impl<T: ?Sized + ToTokens> ToTokens for &mut T { | warning: the following explicit lifetimes could be elided: 'a --> src/to_tokens.rs:90:6 | 90 | impl<'a, T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 90 - impl<'a, T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'a, T> { 90 + impl<T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'_, T> { | warning: the following explicit lifetimes could be elided: 'a --> src/runtime.rs:105:14 | 105 | impl<'q, 'a, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &'a T { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 105 - impl<'q, 'a, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &'a T { 105 + impl<'q, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &T { | warning: the following explicit lifetimes could be elided: 'a --> src/runtime.rs:113:14 | 113 | impl<'q, 'a, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &'a mut T { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 113 - impl<'q, 'a, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &'a mut T { 113 + impl<'q, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &mut T { | warning: the following explicit lifetimes could be elided: 'a --> src/runtime.rs:305:10 | 305 | impl<'a> Iterator for Lifetime<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 305 - impl<'a> Iterator for Lifetime<'a> { 305 + impl Iterator for Lifetime<'_> { | warning: the following explicit lifetimes could be elided: 'a --> src/runtime.rs:337:10 | 337 | impl<'a> Iterator for Lifetime<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 337 - impl<'a> Iterator for Lifetime<'a> { 337 + impl Iterator for Lifetime<'_> { |
- Loading branch information