Skip to content

Commit dd15f29

Browse files
committed
Ignore elidable_lifetime_names pedantic clippy lint
warning: the following explicit lifetimes could be elided: 'a --> src/to_tokens.rs:86:6 | 86 | 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#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 | 86 - impl<'a, T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'a, T> { 86 + impl<T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'_, T> { | warning: the following explicit lifetimes could be elided: 'a --> src/runtime.rs:313:10 | 313 | impl<'a> Iterator for Lifetime<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names help: elide the lifetimes | 313 - impl<'a> Iterator for Lifetime<'a> { 313 + impl Iterator for Lifetime<'_> { | warning: the following explicit lifetimes could be elided: 'a --> src/runtime.rs:345:10 | 345 | impl<'a> Iterator for Lifetime<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names help: elide the lifetimes | 345 - impl<'a> Iterator for Lifetime<'a> { 345 + impl Iterator for Lifetime<'_> { |
1 parent b723616 commit dd15f29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
#![doc(html_root_url = "https://docs.rs/quote/1.0.38")]
9393
#![allow(
9494
clippy::doc_markdown,
95+
clippy::elidable_lifetime_names,
9596
clippy::missing_errors_doc,
9697
clippy::missing_panics_doc,
9798
clippy::module_name_repetitions,

0 commit comments

Comments
 (0)