Commit 45fd82a
committed
Ignore elidable_lifetime_names pedantic clippy lint
warning: the following explicit lifetimes could be elided: 'a
--> src/expand.rs:445:10
|
445 | impl<'a> VisitMut for AssociatedTypeImplTraits<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
= note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
help: elide the lifetimes
|
445 - impl<'a> VisitMut for AssociatedTypeImplTraits<'a> {
445 + impl VisitMut for AssociatedTypeImplTraits<'_> {
|
warning: the following explicit lifetimes could be elided: 'a
--> tests/test.rs:1432:10
|
1432 | impl<'a> Drop for IncrementOnDrop<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
= note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
help: elide the lifetimes
|
1432 - impl<'a> Drop for IncrementOnDrop<'a> {
1432 + impl Drop for IncrementOnDrop<'_> {
|1 parent ea2f2a2 commit 45fd82a
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments