Deny unused_lifetimes through rustbuild
This commit is contained in:
parent
434152157f
commit
676d282dd3
38 changed files with 23 additions and 59 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue