You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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<'_> {
|
0 commit comments