From 69c385e8105c7fad07a5728979e86a2a6a5e88ba Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 30 Jul 2018 16:32:27 +0300 Subject: Fix compilation for real --- tools/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/src/main.rs') diff --git a/tools/src/main.rs b/tools/src/main.rs index 783e3395b..6786b81ca 100644 --- a/tools/src/main.rs +++ b/tools/src/main.rs @@ -108,7 +108,7 @@ fn tests_from_dir(dir: &Path) -> Result> { } let text = fs::read_to_string(entry.path())?; - for test in collect_tests(&text) { + for (_, test) in collect_tests(&text) { if let Some(old_test) = res.replace(test) { bail!("Duplicate test: {}", old_test.name) } -- cgit v1.2.3