summary refs log tree commit diff
path: root/src/librustc_data_structures/graph
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-23 22:17:27 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-28 18:47:02 +0300
commit676d282dd3cd2dedba651e98c9a41af42983f08b (patch)
tree859875de5c271f683d5b57bb9ec4911e44388f16 /src/librustc_data_structures/graph
parent434152157f9d73ad1899fb8da3a61aed6f8a46d6 (diff)
downloadrust-676d282dd3cd2dedba651e98c9a41af42983f08b.tar.gz
rust-676d282dd3cd2dedba651e98c9a41af42983f08b.zip
Deny `unused_lifetimes` through rustbuild
Diffstat (limited to 'src/librustc_data_structures/graph')
-rw-r--r--src/librustc_data_structures/graph/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_data_structures/graph/mod.rs b/src/librustc_data_structures/graph/mod.rs
index e59085a9e3a..749709521e8 100644
--- a/src/librustc_data_structures/graph/mod.rs
+++ b/src/librustc_data_structures/graph/mod.rs
@@ -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>;