Deny unused_lifetimes through rustbuild

This commit is contained in:
Vadim Petrochenkov 2019-07-23 22:17:27 +03:00
parent 434152157f
commit 676d282dd3
38 changed files with 23 additions and 59 deletions

View file

@ -39,6 +39,7 @@ where
}
}
#[allow(unused_lifetimes)]
pub trait GraphSuccessors<'graph> {
type Item;
type Iter: Iterator<Item = Self::Item>;
@ -54,6 +55,7 @@ where
) -> <Self as GraphPredecessors<'_>>::Iter;
}
#[allow(unused_lifetimes)]
pub trait GraphPredecessors<'graph> {
type Item;
type Iter: Iterator<Item = Self::Item>;