about summary refs log tree commit diff
path: root/src/librustc_data_structures/graph
diff options
context:
space:
mode:
authorJeremy Stucki <jeremy@myelin.ch>2019-06-23 16:11:52 +0200
committerJeremy Stucki <stucki.jeremy@gmail.com>2019-07-03 10:01:02 +0200
commit3cd4df70a58c73e22e0820f83b305f049b88f4db (patch)
treed78d811945ac3a7d39dd19f1f2537dfdb07244dc /src/librustc_data_structures/graph
parentd28832dde96e7ed4e5124ce26f7ff03327925a56 (diff)
downloadrust-3cd4df70a58c73e22e0820f83b305f049b88f4db.tar.gz
rust-3cd4df70a58c73e22e0820f83b305f049b88f4db.zip
Add missing lifetime specifier
Diffstat (limited to 'src/librustc_data_structures/graph')
-rw-r--r--src/librustc_data_structures/graph/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/graph/test.rs b/src/librustc_data_structures/graph/test.rs
index 5ff0cbf58c7..bc142144e93 100644
--- a/src/librustc_data_structures/graph/test.rs
+++ b/src/librustc_data_structures/graph/test.rs
@@ -59,7 +59,7 @@ impl WithPredecessors for TestGraph {
 }
 
 impl WithSuccessors for TestGraph {
-    fn successors(&self, node: usize) -> <Self as GraphSuccessors>::Iter {
+    fn successors(&self, node: usize) -> <Self as GraphSuccessors<'_>>::Iter {
         self.successors[&node].iter().cloned()
     }
 }