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/main.rs:77:12 | 77 | impl<'ast, 'a> Visit<'ast> for AttrVisitor<'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 | 77 - impl<'ast, 'a> Visit<'ast> for AttrVisitor<'a> { 77 + impl<'ast> Visit<'ast> for AttrVisitor<'_> { |
- Loading branch information