Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve some elidable_lifetime_names pedantic clippy lint
warning: the following explicit lifetimes could be elided: 'a --> src/aserror.rs:47:6 | 47 | impl<'a> Sealed for dyn Error + '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 | 47 - impl<'a> Sealed for dyn Error + 'a {} 47 + impl Sealed for dyn Error + '_ {} | warning: the following explicit lifetimes could be elided: 'a --> src/aserror.rs:48:6 | 48 | impl<'a> Sealed for dyn Error + Send + 'a {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names help: elide the lifetimes | 48 - impl<'a> Sealed for dyn Error + Send + 'a {} 48 + impl Sealed for dyn Error + Send + '_ {} | warning: the following explicit lifetimes could be elided: 'a --> src/aserror.rs:49:6 | 49 | impl<'a> Sealed for dyn Error + Send + Sync + 'a {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names help: elide the lifetimes | 49 - impl<'a> Sealed for dyn Error + Send + Sync + 'a {} 49 + impl Sealed for dyn Error + Send + Sync + '_ {} | warning: the following explicit lifetimes could be elided: 'a --> src/aserror.rs:50:6 | 50 | impl<'a> Sealed for dyn Error + Send + Sync + UnwindSafe + 'a {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names help: elide the lifetimes | 50 - impl<'a> Sealed for dyn Error + Send + Sync + UnwindSafe + 'a {} 50 + impl Sealed for dyn Error + Send + Sync + UnwindSafe + '_ {} |
- Loading branch information